|
From: <sv...@va...> - 2008-05-10 11:07:09
|
Author: bart
Date: 2008-05-10 12:07:14 +0100 (Sat, 10 May 2008)
New Revision: 8029
Log:
Added -Winline to the compiler flags. Made sure that all functions in drd_bitmap_test.c that can be inlined are actually inlined.
Modified:
trunk/exp-drd/tests/Makefile.am
Modified: trunk/exp-drd/tests/Makefile.am
===================================================================
--- trunk/exp-drd/tests/Makefile.am 2008-05-10 11:06:35 UTC (rev 8028)
+++ trunk/exp-drd/tests/Makefile.am 2008-05-10 11:07:14 UTC (rev 8029)
@@ -146,7 +146,7 @@
tc24_nonzero_sem.vgtest \
trylock.c trylock.stderr.exp
-AM_CFLAGS = $(WERROR) -Wall -Wshadow -Wno-unused-parameter \
+AM_CFLAGS = $(WERROR) -Wall -Wshadow -Wno-unused-parameter -Winline\
-g $(AM_FLAG_M3264_PRI) -DVGA_$(VG_ARCH)=1 -DVGO_$(VG_OS)=1 \
-DVGP_$(VG_ARCH)_$(VG_OS)=1
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include \
@@ -213,7 +213,7 @@
drd_bitmap_test_SOURCES = drd_bitmap_test.c
-drd_bitmap_test_CFLAGS = $(AM_CFLAGS) -O2
+drd_bitmap_test_CFLAGS = $(AM_CFLAGS) -O2 -finline_limit=1000
fp_race_SOURCES = fp_race.c
fp_race_LDADD = -lpthread
|