]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: add -fwrapv for 950704-1.c
authorXi Ruoyao <xry111@mengyan@123.wang>
Wed, 23 Jun 2021 18:45:06 +0000 (14:45 -0400)
committerJeff Law <jeffreyalaw@gmail.com>
Wed, 23 Jun 2021 18:45:06 +0000 (14:45 -0400)
gcc/testsuite
* gcc.c-torture/execute/950704-1.c: Add -fwrapv to avoid
undefined behavior.

gcc/testsuite/gcc.c-torture/execute/950704-1.c

index f11aff8cabc88a984aec6bc5dde043e9a66c205f..67fe0885e5a985250ac1c1b49adae85d4e15014c 100644 (file)
@@ -1,3 +1,4 @@
+/* { dg-additional-options "-fwrapv" } */
 int errflag;
 
 long long