This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/58251] [4.7/4.8 Regression] -flto causes ICE lto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
      Known to work|                            |4.6.4, 4.9.0
   Target Milestone|---                         |4.7.4
            Summary|-flto causes ICE lto1:      |[4.7/4.8 Regression] -flto
                   |internal compiler error: in |causes ICE lto1: internal
                   |splice_child_die, at        |compiler error: in
                   |dwarf2out.c:4706            |splice_child_die, at
                   |                            |dwarf2out.c:4706
      Known to fail|                            |4.7.3, 4.8.2

--- Comment #15 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed with 4.7.3 and 4.8.2.  Seems to work on the trunk, worked with 4.6.4.

Now it would be interesting to bisect what fixed this on the trunk ...


> /space/rguenther/install/gcc-4.8.2/bin/g++  t.ii  -g -flto -r -nostdlib -flto-partition=none
t.ii: In function 'void fn1()':
t.ii:147:25: warning: deprecated conversion from string constant to 'char*'
[-Wwrite-strings]
       "", &Coordinate::y);
                         ^
lto1: internal compiler error: in splice_child_die, at dwarf2out.c:4706
0x58cd78 splice_child_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:4704
0x59fb2a gen_member_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19029
0x59fb2a gen_struct_or_union_type_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19117
0x59fb2a gen_tagged_type_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19307
0x5adf2f gen_typedef_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19216
0x59e824 gen_typedef_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19175
0x59e824 gen_decl_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:20020
0x5a044d gen_type_die_with_usage
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19367
0x59e864 gen_decl_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:20071
0x59fb57 gen_member_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19031
0x59fb57 gen_struct_or_union_type_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19117
0x59fb57 gen_tagged_type_die
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19307
0x5a084e gen_type_die_with_usage
        /space/rguenther/src/svn/gcc-4_8-branch/gcc/dwarf2out.c:19454
...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]