$ cat trunctfdf2.i
long a;
double b;
double fn1() {
union {
long double f;
__uint128_t i;
} c = {b};
__uint128_t d = c.i & 2;
a = 1;
long e = 1 | d;
return e;
}
$ gcc -std=gnu99 -c -g -O2 trunctfdf2.i
trunctfdf2.i: In function 'fn1':
trunctfdf2.i:12:1: internal compiler error: in trunc_int_for_mode, at explow.c:55
}
^
Please submit a full bug report,
with preprocessed source if appropriate.
seen with gcc-4.8.x everywhere, fixed in 4.9
$ cat trunctfdf2.i
long a;
double b;
double fn1() {
union {
long double f;
__uint128_t i;
} c = {b};
__uint128_t d = c.i & 2;
a = 1;
long e = 1 | d;
return e;
}
$ gcc -std=gnu99 -c -g -O2 trunctfdf2.i
trunctfdf2.i: In function 'fn1':
trunctfdf2.i:12:1: internal compiler error: in trunc_int_for_mode, at explow.c:55
}
^
Please submit a full bug report,
with preprocessed source if appropriate.