This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[testsuite] Compile c-c++-common/ubsan/sanitize-recover-7.c with -w


In order to kill "warning: -fsanitize=address not supported for this target". 

Tested on SPARC64/Linux, applied on the mainline and 7 branch as obvious.


2017-06-26  Eric Botcazou  <ebotcazou@adacore.com>

	* c-c++-common/ubsan/sanitize-recover-7.c (dg-options): Add -w.

-- 
Eric Botcazou
Index: c-c++-common/ubsan/sanitize-recover-7.c
===================================================================
--- c-c++-common/ubsan/sanitize-recover-7.c	(revision 249619)
+++ c-c++-common/ubsan/sanitize-recover-7.c	(working copy)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fsanitize=address -fsanitize=thread" } */
+/* { dg-options "-fsanitize=address -fsanitize=thread -w" } */
 
 int i;
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]