public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g
@ 2012-07-05  7:58 zsojka at seznam dot cz
  2012-07-05  8:34 ` [Bug debug/53860] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: zsojka at seznam dot cz @ 2012-07-05  7:58 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53860
           Summary: [4.8 Regression] ICE: in should_move_die_to_comdat, at
                    dwarf2out.c:6254 with -fkeep-inline-functions
                    -fdebug-types-section -g
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: zsojka@seznam.cz


Created attachment 27744
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27744
reduced testcase

Compiler output:
$ gcc -fkeep-inline-functions -fdebug-types-section -g testcase.C 
testcase.C:7:1: internal compiler error: in should_move_die_to_comdat, at
dwarf2out.c:6254
 }
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(gdb) bt
#0  fancy_abort (file=0x13a48e0 "/mnt/svn/gcc-trunk/gcc/dwarf2out.c",
line=6254, function=0x13a2000 "should_move_die_to_comdat")
    at /mnt/svn/gcc-trunk/gcc/diagnostic.c:1010
#1  0x00000000008acdf1 in should_move_die_to_comdat (die=0x7ffff6ad42d0) at
/mnt/svn/gcc-trunk/gcc/dwarf2out.c:6254
#2  break_out_comdat_types (die=Unhandled dwarf expression opcode 0xfa
) at /mnt/svn/gcc-trunk/gcc/dwarf2out.c:6568
#3  0x00000000008d1103 in dwarf2out_finish (filename=<optimized out>) at
/mnt/svn/gcc-trunk/gcc/dwarf2out.c:22347
#4  0x0000000000b8c8db in compile_file () at
/mnt/svn/gcc-trunk/gcc/toplev.c:598
#5  0x0000000000b8e408 in do_compile () at /mnt/svn/gcc-trunk/gcc/toplev.c:1867
#6  toplev_main (argc=16, argv=0x7fffffffd6a8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1943
#7  0x00007ffff6f052ad in __libc_start_main () from /lib64/libc.so.6
#8  0x0000000000592811 in _start ()


Tested revisions:
r189247 - crash
4.7 r188682 - OK


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/53860] [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g
  2012-07-05  7:58 [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g zsojka at seznam dot cz
@ 2012-07-05  8:34 ` rguenth at gcc dot gnu.org
  2012-07-05 14:00 ` hjl.tools at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-05  8:34 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/53860] [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g
  2012-07-05  7:58 [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g zsojka at seznam dot cz
  2012-07-05  8:34 ` [Bug debug/53860] " rguenth at gcc dot gnu.org
@ 2012-07-05 14:00 ` hjl.tools at gmail dot com
  2012-09-19 13:41 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2012-07-05 14:00 UTC (permalink / raw)
  To: gcc-bugs

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-07-05
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-05 14:00:34 UTC ---
It is caused by revision 188621:

http://gcc.gnu.org/ml/gcc-cvs/2012-06/msg00531.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/53860] [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g
  2012-07-05  7:58 [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g zsojka at seznam dot cz
  2012-07-05  8:34 ` [Bug debug/53860] " rguenth at gcc dot gnu.org
  2012-07-05 14:00 ` hjl.tools at gmail dot com
@ 2012-09-19 13:41 ` rguenth at gcc dot gnu.org
  2012-11-16  3:00 ` siddhesh at redhat dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-09-19 13:41 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/53860] [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g
  2012-07-05  7:58 [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g zsojka at seznam dot cz
                   ` (2 preceding siblings ...)
  2012-09-19 13:41 ` rguenth at gcc dot gnu.org
@ 2012-11-16  3:00 ` siddhesh at redhat dot com
  2012-11-28 19:28 ` aoliva at gcc dot gnu.org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: siddhesh at redhat dot com @ 2012-11-16  3:00 UTC (permalink / raw)
  To: gcc-bugs


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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |siddhesh at redhat dot com

--- Comment #2 from Siddhesh Poyarekar <siddhesh at redhat dot com> 2012-11-16 03:00:28 UTC ---
(In reply to comment #1)
> It is caused by revision 188621:
> 
> http://gcc.gnu.org/ml/gcc-cvs/2012-06/msg00531.html

This was reverted with r189311, so the ICE is not reproducible anymore.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/53860] [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g
  2012-07-05  7:58 [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g zsojka at seznam dot cz
                   ` (3 preceding siblings ...)
  2012-11-16  3:00 ` siddhesh at redhat dot com
@ 2012-11-28 19:28 ` aoliva at gcc dot gnu.org
  2012-12-01 16:11 ` hjl at gcc dot gnu.org
  2012-12-01 16:11 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: aoliva at gcc dot gnu.org @ 2012-11-28 19:28 UTC (permalink / raw)
  To: gcc-bugs


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

Alexandre Oliva <aoliva at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aoliva at gcc dot gnu.org

--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2012-11-28 19:27:45 UTC ---
Does this mean the bug is fixed (i.e., it had been introduced by the reversed
patch), or just latent?

In either case, it would probably be good to have the testcase in the testsuite
so this doesn't resurface unnoticed again.  Zdenek, would you turn this into a
patch for the testsuite and submit it for inclusion?  TIA,


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/53860] [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g
  2012-07-05  7:58 [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g zsojka at seznam dot cz
                   ` (5 preceding siblings ...)
  2012-12-01 16:11 ` hjl at gcc dot gnu.org
@ 2012-12-01 16:11 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2012-12-01 16:11 UTC (permalink / raw)
  To: gcc-bugs


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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2012-12-01 16:11:05 UTC ---
Fixed.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug debug/53860] [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g
  2012-07-05  7:58 [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g zsojka at seznam dot cz
                   ` (4 preceding siblings ...)
  2012-11-28 19:28 ` aoliva at gcc dot gnu.org
@ 2012-12-01 16:11 ` hjl at gcc dot gnu.org
  2012-12-01 16:11 ` hjl.tools at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: hjl at gcc dot gnu.org @ 2012-12-01 16:11 UTC (permalink / raw)
  To: gcc-bugs


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

--- Comment #4 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2012-12-01 16:10:44 UTC ---
Author: hjl
Date: Sat Dec  1 16:10:30 2012
New Revision: 194019

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=194019
Log:
Fix a typo in PR debug/53860 ChangeLog

Modified:
    trunk/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-12-01 16:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05  7:58 [Bug debug/53860] New: [4.8 Regression] ICE: in should_move_die_to_comdat, at dwarf2out.c:6254 with -fkeep-inline-functions -fdebug-types-section -g zsojka at seznam dot cz
2012-07-05  8:34 ` [Bug debug/53860] " rguenth at gcc dot gnu.org
2012-07-05 14:00 ` hjl.tools at gmail dot com
2012-09-19 13:41 ` rguenth at gcc dot gnu.org
2012-11-16  3:00 ` siddhesh at redhat dot com
2012-11-28 19:28 ` aoliva at gcc dot gnu.org
2012-12-01 16:11 ` hjl at gcc dot gnu.org
2012-12-01 16:11 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).