From: Xi Ruoyao Date: Wed, 23 Jun 2021 18:45:06 +0000 (-0400) Subject: testsuite: add -fwrapv for 950704-1.c X-Git-Tag: basepoints/gcc-13~6555 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48320083c9a2bdf0ddac693f9d523755b8b29ec;p=thirdparty%2Fgcc.git testsuite: add -fwrapv for 950704-1.c gcc/testsuite * gcc.c-torture/execute/950704-1.c: Add -fwrapv to avoid undefined behavior. --- diff --git a/gcc/testsuite/gcc.c-torture/execute/950704-1.c b/gcc/testsuite/gcc.c-torture/execute/950704-1.c index f11aff8cabc8..67fe0885e5a9 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