mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
apx-ndd-tls-1[ab].c: Add -std=gnu17
Since GCC 15 defaults to -std=gnu23, add -std=gnu17 to apx-ndd-tls-1[ab].c to avoid: gcc.target/i386/apx-ndd-tls-1a.c: In function ‘k’: gcc.target/i386/apx-ndd-tls-1a.c:29:7: error: too many arguments to function ‘l’ gcc.target/i386/apx-ndd-tls-1a.c:25:5: note: declared here * gcc.target/i386/apx-ndd-tls-1a.c: -std=gnu17. * gcc.target/i386/apx-ndd-tls-1b.c: Likewise. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
This commit is contained in:
parent
0f7def8549
commit
42a8005c63
@ -1,7 +1,7 @@
|
||||
/* PR target/113733 */
|
||||
/* { dg-do assemble { target { apxf && { ! ia32 } } } } */
|
||||
/* { dg-require-effective-target tls } */
|
||||
/* { dg-options "-mapxf -O3 -w" } */
|
||||
/* { dg-options "-std=gnu17 -mapxf -O3 -w" } */
|
||||
|
||||
extern __thread int a, j;
|
||||
enum b
|
||||
|
@ -2,7 +2,7 @@
|
||||
/* { dg-do assemble { target { apxf && { ! ia32 } } } } */
|
||||
/* { dg-require-effective-target tls } */
|
||||
/* { dg-require-effective-target code_6_gottpoff_reloc } */
|
||||
/* { dg-options "-save-temps -mapxf -O3 -w" } */
|
||||
/* { dg-options "-save-temps -std=gnu17 -mapxf -O3 -w" } */
|
||||
|
||||
#include "apx-ndd-tls-1a.c"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user