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  <ebotca...@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;
 

Reply via email to