https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70937
Bug ID: 70937 Summary: [7.0 Regression] ICE: tree code ‘ssa_name’ is not supported in LTO streams Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: Joost.VandeVondele at mat dot ethz.ch Target Milestone: --- overnight regression in trunk: > cat bug.f90 SUBROUTINE dbcsr_test_read_args(narg, args) CHARACTER(len=*), DIMENSION(:), & INTENT(out) :: args CHARACTER(len=80) :: line DO args(narg) = line ENDDO END SUBROUTINE dbcsr_test_read_args > gfortran -flto -c -O0 bug.f90 bug.f90:8:0: internal compiler error: tree code ‘ssa_name’ is not supported in LTO streams END SUBROUTINE dbcsr_test_read_args 0xa62703 DFS::DFS(output_block*, tree_node*, bool, bool, bool) ../../gcc/gcc/lto-streamer-out.c:676 0xa6338b lto_output_tree(output_block*, tree_node*, bool, bool) ../../gcc/gcc/lto-streamer-out.c:1616 0xa5960d write_global_stream ../../gcc/gcc/lto-streamer-out.c:2415 0xa5960d lto_output_decl_state_streams(output_block*, lto_out_decl_state*) ../../gcc/gcc/lto-streamer-out.c:2462 0xa60fa4 produce_asm_for_decls() ../../gcc/gcc/lto-streamer-out.c:2839 0xacd65f write_lto ../../gcc/gcc/passes.c:2459 0xad08ae ipa_write_summaries_1 ../../gcc/gcc/passes.c:2520 0xad08ae ipa_write_summaries() ../../gcc/gcc/passes.c:2580 0x7a6059 ipa_passes ../../gcc/gcc/cgraphunit.c:2310 0x7a6059 symbol_table::compile() ../../gcc/gcc/cgraphunit.c:2404 0x7a880d symbol_table::finalize_compilation_unit() ../../gcc/gcc/cgraphunit.c:2564 Please submit a full bug report,