https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109036
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
Summary|[13 Regression] ICE in |ICE in
|get_partitioning_class, at |get_partitioning_class, at
|symtab.cc:2096 |symtab.cc:2096
Last reconfirmed| |2023-03-06
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
With gfortran pr109036-*.f90 -flto, it crashes for all releases I have:
during IPA pass: static-var
lto1: internal compiler error: in copy_function_or_variable, at
lto-streamer-out.cc:2580
0x7ffff797faef __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7ffff797fbb8 __libc_start_main_impl
../csu/libc-start.c:360
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.opensuse.org/> for instructions.
lto-wrapper: fatal error: gfortran returned 1 exit status
compilation terminated.
/usr/lib64/gcc/x86_64-suse-linux/12/../../../../x86_64-suse-linux/bin/ld:
error: lto-wrapper failed
collect2: error: ld returned 1 exit status