From: Bart Van Assche Date: Sun, 15 May 2011 17:06:33 +0000 (+0000) Subject: Silence compiler warnings triggered by certain regression tests programs and that... X-Git-Tag: svn/VALGRIND_3_7_0~479 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64a2d66bdf86104eae4bbabd981a4c08622fbf2c;p=thirdparty%2Fvalgrind.git Silence compiler warnings triggered by certain regression tests programs and that we are not interested in. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11758 --- diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index 62fdbb9078..1d54f374fd 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -274,6 +274,10 @@ deep_templates_CXXFLAGS = $(AM_CFLAGS) -O -gstabs error_counts_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ +execve_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ + +execve2_CFLAGS = $(AM_CFLASG) @FLAG_W_NO_NONNULL@ + inits_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_UNINITIALIZED@ long_namespace_xml_SOURCES = long_namespace_xml.cpp diff --git a/none/tests/Makefile.am b/none/tests/Makefile.am index afe71872d0..5c3fc8147b 100644 --- a/none/tests/Makefile.am +++ b/none/tests/Makefile.am @@ -214,6 +214,7 @@ AM_CXXFLAGS += $(AM_FLAG_M3264_PRI) # Extra stuff for C tests ansi_CFLAGS = $(AM_CFLAGS) -ansi +execve_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_NONNULL@ floored_LDADD = -lm manythreads_LDADD = -lpthread if VGCONF_OS_IS_DARWIN diff --git a/none/tests/x86/Makefile.am b/none/tests/x86/Makefile.am index ebdd95d8b4..261cadcafe 100644 --- a/none/tests/x86/Makefile.am +++ b/none/tests/x86/Makefile.am @@ -120,6 +120,7 @@ endif cpuid_SOURCES = cpuid_c.c cpuid_s.S # fpu_lazy_eflags must use these flags -- the bug only occurred with them. fpu_lazy_eflags_CFLAGS = $(AM_CFLAGS) -O2 -march=pentiumpro +fxtract_CFLAGS = $(AM_CFLAGS) @FLAG_W_NO_OVERFLOW@ fxtract_LDADD = -lm insn_basic_SOURCES = insn_basic.def insn_basic_LDADD = -lm