From: Bart Van Assche Date: Sat, 10 May 2008 11:07:14 +0000 (+0000) Subject: Added -Winline to the compiler flags. Made sure that all functions in drd_bitmap_test... X-Git-Tag: svn/VALGRIND_3_4_0~609 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6397ddafb3f2389a54e18379b9c624eda5dd1d18;p=thirdparty%2Fvalgrind.git Added -Winline to the compiler flags. Made sure that all functions in drd_bitmap_test.c that can be inlined are actually inlined. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8029 --- diff --git a/exp-drd/tests/Makefile.am b/exp-drd/tests/Makefile.am index 63892e91c9..d6949ca560 100644 --- a/exp-drd/tests/Makefile.am +++ b/exp-drd/tests/Makefile.am @@ -146,7 +146,7 @@ EXTRA_DIST = \ 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 @@ endif 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