Activity log for bug #1667761

Date Who What changed Old value New value Message
2017-02-24 18:04:22 Matthias Klose bug added bug
2017-02-24 18:04:33 Matthias Klose gcc-4.8 (Ubuntu): status New Confirmed
2017-02-24 18:04:37 Matthias Klose gcc-4.8 (Ubuntu): importance Undecided Medium
2017-02-24 18:06:18 Matthias Klose description 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. seen on aarch64-linux-gnu with gcc-4.8.x everywhere, fixed in 4.9 (worked around with -O1) $ 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.