Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr115796.c

raw
1 #include <immintrin.h>
2 /* In file included from /usr/src/local/gcc/obj/gcc/include/emmintrin.h:31,
3 from /usr/src/local/gcc/obj/x86_64-unknown-netbsd10.99/libstdc++-v3/include/ext/random:45,
4 from /usr/src/local/gcc/libstdc++-v3/include/precompiled/extc++.h:65:
5 /usr/src/local/gcc/obj/gcc/include/xmmintrin.h:75:15: error: conflicting declaration 'typedef float __float_u'
6 75 | typedef float __float_u __attribute__ ((__may_alias__, __aligned__ (1)));
7 | ^~~~~~~~~
8 In file included from /usr/src/local/gcc/obj/x86_64-unknown-netbsd10.99/libstdc++-v3/include/cmath:47,
9 from /usr/src/local/gcc/obj/x86_64-unknown-netbsd10.99/libstdc++-v3/include/x86_64-unknown-netbsd10.99/bits/stdc++.h:114,
10 from /usr/src/local/gcc/libstdc++-v3/include/precompiled/extc++.h:32:
11 /usr/src/local/gcc/obj/gcc/include-fixed/math.h:49:7: note: previous declaration as 'union __float_u'
12 49 | union __float_u { */
13 typedef union {
14 float a;
15 char b[4];
16 }__float_u;
17
18 char
19 foo (float a)
20 {
21 __float_u c;
22 c.a = a;
23 return c.b[1];
24 }