https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67338
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- (In reply to Vittorio Zecca from comment #5) > I still have a similar issue in 7.0.1 > > ../../gcc-7-246252/gcc/fold-const.c:14253:11: runtime error: negation of > -2147483648 cannot be represented in type 'int'; cast to an unsigned type to > negate this value to itself > > compiling > > struct { __attribute__((aligned (1 << 28))) double a; }; > > fold-const.c:14253 is "val &= - (int) divisor;" > > Should I open a new bug? That code is no longer there, there is val &= (int) -divisor; instead. So no, you can't see this with current trunk.