At -O0 -flto with t1.f subroutine f print *, "Hello World" end t2.f program test call f end
the reader ICEs with lto1: internal compiler error: in lto_get_pickled_tree, at lto-streamer-in.c:2389 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. -- Summary: [LTO] ICE in lto_get_pickled_tree, at lto-streamer- in.c:2389 Product: gcc Version: lto Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: lto AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40724