http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57664

            Bug ID: 57664
           Summary: [4.8/4.9 Regression] ICE: in
                    should_move_die_to_comdat, at dwarf2out.c:6750 with
                    -fdebug-types-section and lambda
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: zsojka at seznam dot cz

Created attachment 30329
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30329&action=edit
reduced testcase

Compiler output:
$ gcc -std=c++11 -g -fipa-pure-const -fdebug-types-section
-fno-eliminate-unused-debug-types testcase.C
testcase.C:5:1: internal compiler error: in should_move_die_to_comdat, at
dwarf2out.c:6750
 }
 ^
0x8da6fc should_move_die_to_comdat
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:6750
0x8da6fc break_out_comdat_types
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:7152
0x8ffc78 dwarf2out_finish
        /mnt/svn/gcc-trunk/gcc/dwarf2out.c:23764
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.

$ gcc -v
Using built-in specs.
COLLECT_GCC=/mnt/svn/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-200224-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/svn/gcc-trunk//configure --enable-checking=yes,rtl,df
--enable-languages=c,c++,lto,fortran
--prefix=/mnt/svn/gcc-trunk/binary-200224-lto-fortran-checking-yes-rtl-df/
--without-cloog --without-ppl
Thread model: posix
gcc version 4.9.0 20130619 (experimental) (GCC) 

Tested revisions:
r200224 - ICE
4.8 r198018 - ICE
4.7 r200234 - OK

Reply via email to