https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95979

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
I don't see the ICE on a standard GCC11, but its instrumented version gives

../../work/gcc/fortran/simplify.c:127:10: runtime error: load of value
4294967295, which is not a valid value for type 'expr_t'
../../work/gcc/fortran/error.c:970:2: runtime error: member access within
misaligned address 0x000000000002 for type 'struct gfc_linebuf', which requires
8 byte alignment
0x000000000002: note: pointer points here
<memory cannot be printed>
../../work/gcc/fortran/error.c:971:46: runtime error: member access within
misaligned address 0x000000000002 for type 'struct gfc_linebuf', which requires
8 byte alignment
0x000000000002: note: pointer points here
<memory cannot be printed>
../../work/gcc/fortran/error.c:979:42: runtime error: member access within
misaligned address 0x000000000002 for type 'struct gfc_linebuf', which requires
8 byte alignment
0x000000000002: note: pointer points here

The instrumented GCC9 and 10 give the expected error.

Reply via email to