annotate gcc/testsuite/g++.dg/ext/pr57548.C @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
kono
parents:
diff changeset
2 /* { dg-require-ifunc "" } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 int fum (); // Extra declaration that is merged with the second one.
kono
parents:
diff changeset
5 int fum () __attribute__ ((target("default")));
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 int fum () __attribute__((target( "mmx")));
kono
parents:
diff changeset
9 int fum () __attribute__((target( "popcnt")));
kono
parents:
diff changeset
10 int fum () __attribute__((target( "sse")));
kono
parents:
diff changeset
11 int fum () __attribute__((target( "sse2")));
kono
parents:
diff changeset
12 int fum () __attribute__((target( "sse3")));
kono
parents:
diff changeset
13 int fum () __attribute__((target( "ssse3")));
kono
parents:
diff changeset
14 int fum () __attribute__((target( "sse4.1")));
kono
parents:
diff changeset
15 int fum () __attribute__((target( "sse4.2")));
kono
parents:
diff changeset
16 int fum () __attribute__((target( "avx")));
kono
parents:
diff changeset
17 int fum () __attribute__((target( "avx2")));
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 int fum () __attribute__((target("arch=core2")));
kono
parents:
diff changeset
20 int fum () __attribute__((target("arch=corei7")));
kono
parents:
diff changeset
21 int fum () __attribute__((target("arch=atom")));
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 int (*p)() = &fum;
kono
parents:
diff changeset
24
kono
parents:
diff changeset
25 int j = fum();