]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[committed] Adjust ARC tests after c23 changes
authorJeff Law <jlaw@ventanamicro.com>
Sat, 16 Nov 2024 18:26:21 +0000 (11:26 -0700)
committerJeff Law <jlaw@ventanamicro.com>
Sat, 16 Nov 2024 18:26:21 +0000 (11:26 -0700)
This test passes different kinds of objects to the underlying function.  So
just pass in -std=gnu17.

gcc/testsuite
* gcc.target/arc/add_n-combine.c: Pass in -std=gnu17.

gcc/testsuite/gcc.target/arc/add_n-combine.c

index fd311b3839c7ac8208915b586892f3b96c6fd237..19690192fca162f6bec3b0b4b79b196fc96c25db 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile }  */
-/* { dg-options "-O2" }  */
+/* { dg-options "-O2 -std=gnu17" }  */
 
 struct b1 {
       char c;