[Bug middle-end/103813] Crash in decompose, at wide-int.h:984 fold-const
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 22 22:36:36 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103813
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code
Component|c |middle-end
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The code is undefined for sure.
here is reduced testcase which has less invalidness to it:
struct a {
int b;
int c[];
} ;
struct a d;
int main() {
d.c[0x10000000] || d.c[1];
}
More information about the Gcc-bugs
mailing list