aboutsummaryrefslogtreecommitdiff
path: root/libgomp/target.c
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2023-12-15 10:03:12 +0100
committerThomas Schwinge <thomas@codesourcery.com>2023-12-15 10:29:44 +0100
commit91e9e8faea4086b3b8aef2355fc12c1559d425f6 (patch)
treeadfb0ab3deaa662ea375b14e2e5596ff535841d0 /libgomp/target.c
parent330f1e078dae257d4f8f7b13299ececc2344e681 (diff)
downloadgcc-91e9e8faea4086b3b8aef2355fc12c1559d425f6.zip
gcc-91e9e8faea4086b3b8aef2355fc12c1559d425f6.tar.gz
gcc-91e9e8faea4086b3b8aef2355fc12c1559d425f6.tar.bz2
Fix 'gcc.dg/pr110279-2.c' syntax error due to '__attribute_noinline__'
For example, for GCN or nvptx target configurations, using newlib: FAIL: gcc.dg/pr110279-2.c (test for excess errors) UNRESOLVED: gcc.dg/pr110279-2.c scan-tree-dump-not reassoc2 "was chosen for reassociation" UNRESOLVED: gcc.dg/pr110279-2.c scan-tree-dump-times optimized "\\.FMA " 3 [...]/source-gcc/gcc/testsuite/gcc.dg/pr110279-2.c:11:1: error: unknown type name '__attribute_noinline__' [...]/source-gcc/gcc/testsuite/gcc.dg/pr110279-2.c:12:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'foo' We cannot assume 'stdio.h' to define '__attribute_noinline__' -- but then, that also isn't necessary for this test case (there is nothing to inline into). gcc/testsuite/ * gcc.dg/pr110279-2.c: Don't '#include <stdio.h>'. Remove '__attribute_noinline__'.
Diffstat (limited to 'libgomp/target.c')
0 files changed, 0 insertions, 0 deletions