public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1758] testsuite: add -fwrapv for 950704-1.c
@ 2021-06-23 18:45 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2021-06-23 18:45 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:d48320083c9a2bdf0ddac693f9d523755b8b29ec

commit r12-1758-gd48320083c9a2bdf0ddac693f9d523755b8b29ec
Author: Xi Ruoyao <xry111@mengyan@123.wang>
Date:   Wed Jun 23 14:45:06 2021 -0400

    testsuite: add -fwrapv for 950704-1.c
    
    gcc/testsuite
            * gcc.c-torture/execute/950704-1.c: Add -fwrapv to avoid
            undefined behavior.

Diff:
---
 gcc/testsuite/gcc.c-torture/execute/950704-1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.c-torture/execute/950704-1.c b/gcc/testsuite/gcc.c-torture/execute/950704-1.c
index f11aff8cabc..67fe0885e5a 100644
--- a/gcc/testsuite/gcc.c-torture/execute/950704-1.c
+++ b/gcc/testsuite/gcc.c-torture/execute/950704-1.c
@@ -1,3 +1,4 @@
+/* { dg-additional-options "-fwrapv" } */
 int errflag;
 
 long long


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

only message in thread, other threads:[~2021-06-23 18:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23 18:45 [gcc r12-1758] testsuite: add -fwrapv for 950704-1.c Jeff Law

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).