http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58298
Bug ID: 58298
Summary: [4.9 regression] ICE in mentions_vars_p_field_decl, at
lto/lto.c:1392
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
CC: jh at suse dot cz
Target: m68k-*-*
SVN r202143
Author: hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Sun Sep 1 12:00:35 2013 +0000
* lto.c (tree_with_vars): Turn into vector.
$ gcc/xgcc -B gcc/ ../gcc/gcc/testsuite/gcc.c-torture/execute/20040308-1.c -O2
-flto -fno-use-linker-plugin -flto-partition=none -lm
lto1: internal compiler error: in mentions_vars_p_field_decl, at lto/lto.c:1392
0x4dfcaa mentions_vars_p_field_decl
../../gcc/lto/lto.c:1392
0x4dfcaa mentions_vars_p
../../gcc/lto/lto.c:1499
0x4dfcaa lto_read_decls
../../gcc/lto/lto.c:2513
0x4e06ab lto_file_finalize
../../gcc/lto/lto.c:2783
0x4e06ab lto_create_files_from_ids
../../gcc/lto/lto.c:2793
0x4e06ab lto_file_read
../../gcc/lto/lto.c:2833
0x4e06ab read_cgraph_and_symbols
../../gcc/lto/lto.c:3422
0x4e06ab lto_main()
../../gcc/lto/lto.c:3852