https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63275
Bug ID: 63275 Summary: ice in is_base_type with -g Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Created attachment 33499 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33499&action=edit gzipped C++ source code Attached code, when compiled by 20140914, with flag -g, does the following base/image/openexr.cpp: At global scope: base/image/openexr.cpp:306:1: internal compiler error: in is_base_type, at dwarf2out.c:10383 0x8d500e is_base_type ../../src/trunk/gcc/dwarf2out.c:10383 0x8d500e modified_type_die ../../src/trunk/gcc/dwarf2out.c:10606 0x8d7cfb add_type_attribute ../../src/trunk/gcc/dwarf2out.c:17039 0x8e45b4 gen_array_type_die ../../src/trunk/gcc/dwarf2out.c:17252 0x8d3fa4 gen_type_die_with_usage ../../src/trunk/gcc/dwarf2out.c:20017 0x8d5557 gen_type_die ../../src/trunk/gcc/dwarf2out.c:20076