This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/81406] New: ice in check_die, at dwarf2out.c:6185
- From: "dcb314 at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 12 Jul 2017 07:47:45 +0000
- Subject: [Bug lto/81406] New: ice in check_die, at dwarf2out.c:6185
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81406
Bug ID: 81406
Summary: ice in check_die, at dwarf2out.c:6185
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Created attachment 41725
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41725&action=edit
x86_64 object module
The attached object module, when compiled by recent gcc, does this:
$ /home/dcb/gcc/results/bin/gcc -g -flto -shared dp.o
Duplicate attributes in DIE:
DIE 0: DW_TAG_subprogram (0x7f03e39ffd20)
abbrev id: 0 offset: 0 mark: 0
DW_AT_name: "efidp_node_size.part.0"
DW_AT_prototyped: 1
DW_AT_type: die -> 0 (0x7f03e3d30190)
DW_AT_artificial: 1
DW_AT_inline: 3
DW_AT_artificial: 1
DIE 0: DW_TAG_formal_parameter (0x7f03e39ffd70)
abbrev id: 0 offset: 0 mark: 0
DW_AT_name: "dn"
DW_AT_decl_file:
"/home/dcb/rpmbuild/BUILD/efivar-31/src/include/efivar/ef
ivar-dp.h" (0)
DW_AT_decl_line: 821
DW_AT_type: die -> 0 (0x7f03e396c000)
during IPA pass: inline
In function ‘efidp_node_size.part.0’:
lto1: internal compiler error: in check_die, at dwarf2out.c:6185
0x6e520e check_die
../../trunk/gcc/dwarf2out.c:6185
0x713d35 dwarf2out_abstract_function
../../trunk/gcc/dwarf2out.c:21672
0xbe0c42 expand_call_inline
../../trunk/gcc/tree-inline.c:4923