public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [testsuite] Compile c-c++-common/ubsan/sanitize-recover-7.c with -w
@ 2017-06-26  9:49 Eric Botcazou
  0 siblings, 0 replies; only message in thread
From: Eric Botcazou @ 2017-06-26  9:49 UTC (permalink / raw)
  To: gcc-patches

[-- Attachment #1: Type: text/plain, Size: 291 bytes --]

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

[-- Attachment #2: p.diff --]
[-- Type: text/x-patch, Size: 414 bytes --]

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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-26  9:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-26  9:49 [testsuite] Compile c-c++-common/ubsan/sanitize-recover-7.c with -w Eric Botcazou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).