public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267
@ 2004-07-28  1:01 pbrook at gcc dot gnu dot org
  2004-07-28  1:44 ` [Bug debug/16792] [3.5 regression] " bangerth at dealii dot org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2004-07-28  1:01 UTC (permalink / raw)
  To: gcc-bugs

The following program compiled with g++ -g gives 
internal compiler error: in gen_subprogram_die, at dwarf2out.c:11267 
 
struct S { S(); }; 
 
int foo (S b, double j) { }; 
int main () 
{ 
  int foo (S, double); 
  S v; 
}

-- 
           Summary: ICE in gen_subprogram_die, at dwarf2out.c:11267
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pbrook at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug debug/16792] [3.5 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
@ 2004-07-28  1:44 ` bangerth at dealii dot org
  2004-07-28  2:05 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bangerth at dealii dot org @ 2004-07-28  1:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bangerth at dealii dot org  2004-07-28 01:44 -------
Indeed, a mainline regression. 
 
W. 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-28 01:44:01
               date|                            |
            Summary|ICE in gen_subprogram_die,  |[3.5 regression] ICE in
                   |at dwarf2out.c:11267        |gen_subprogram_die, at
                   |                            |dwarf2out.c:11267
   Target Milestone|---                         |3.5.0


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


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

* [Bug debug/16792] [3.5 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
  2004-07-28  1:44 ` [Bug debug/16792] [3.5 regression] " bangerth at dealii dot org
@ 2004-07-28  2:05 ` pinskia at gcc dot gnu dot org
  2004-09-24 17:22 ` [Bug debug/16792] [4.0 " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-28  2:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-28 02:05 -------
: Search converges between 2004-06-20-trunk (#469) and 2004-06-22-trunk (#470).


-- 


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


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

* [Bug debug/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
  2004-07-28  1:44 ` [Bug debug/16792] [3.5 regression] " bangerth at dealii dot org
  2004-07-28  2:05 ` pinskia at gcc dot gnu dot org
@ 2004-09-24 17:22 ` pinskia at gcc dot gnu dot org
  2004-10-15 17:41 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-24 17:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-24 17:22 -------
*** Bug 17659 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu dot org


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


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

* [Bug debug/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-09-24 17:22 ` [Bug debug/16792] [4.0 " pinskia at gcc dot gnu dot org
@ 2004-10-15 17:41 ` pinskia at gcc dot gnu dot org
  2004-11-09  5:42 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-15 17:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-15 17:41 -------
*** Bug 18018 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |porten at kde dot org


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


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

* [Bug debug/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2004-10-15 17:41 ` pinskia at gcc dot gnu dot org
@ 2004-11-09  5:42 ` pinskia at gcc dot gnu dot org
  2004-11-09 11:55 ` reichelt at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-09  5:42 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-09 05:42 -------
Hmm, a couple big things happened those two days, some should figure out which patch which caused 
this.

-- 


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


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

* [Bug debug/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2004-11-09  5:42 ` pinskia at gcc dot gnu dot org
@ 2004-11-09 11:55 ` reichelt at gcc dot gnu dot org
  2004-12-04  1:19 ` janis187 at us dot ibm dot com
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-11-09 11:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2004-11-09 11:55 -------
Zack, the regression appears with your patch
http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg00815.html

Could you please have a look?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zack at gcc dot gnu dot org


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


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

* [Bug debug/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2004-11-09 11:55 ` reichelt at gcc dot gnu dot org
@ 2004-12-04  1:19 ` janis187 at us dot ibm dot com
  2004-12-13  5:11 ` bje at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: janis187 at us dot ibm dot com @ 2004-12-04  1:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From janis187 at us dot ibm dot com  2004-12-04 01:19 -------
Current mainline g++ ICEs in the same place (now dwarf2out.c:11210) when
compiling 252.eon with -g on powerpc64-unknown-linux-gnu with either -m32
or -m64.  Here's a testcase extracted from the eon code:

double foo (double);

void bar (double a)
{
    double foo (double);
    double x = foo (a);
}

double foo (double a)
{
    return 0.0;
}

-- 


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


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

* [Bug debug/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2004-12-04  1:19 ` janis187 at us dot ibm dot com
@ 2004-12-13  5:11 ` bje at gcc dot gnu dot org
  2004-12-21  7:14 ` porten at kde dot org
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: bje at gcc dot gnu dot org @ 2004-12-13  5:11 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bje at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug debug/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2004-12-13  5:11 ` bje at gcc dot gnu dot org
@ 2004-12-21  7:14 ` porten at kde dot org
  2005-01-02  2:55 ` [Bug c++/16792] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: porten at kde dot org @ 2004-12-21  7:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From porten at kde dot org  2004-12-21 07:14 -------
Re comment #8: my report #18018 was actually in relation to exactly this file
from the Qt package. The test case is a destilled version.

-- 


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


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

* [Bug c++/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2004-12-21  7:14 ` porten at kde dot org
@ 2005-01-02  2:55 ` pinskia at gcc dot gnu dot org
  2005-01-07 10:02 ` reichelt at gcc dot gnu dot org
  2005-03-13 22:18 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-02  2:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-02 02:55 -------
It was caused by this part of the patch:
        * name-lookup.c (pushdecl): When a local extern shadows a
        file-scope declaration of the same object, give both DECLs the
        same DECL_UID.

the two DECLs have the same UID so we get the same die but the decls are not connect any other way
so this is C++ front-end bug.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|debug                       |c++


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


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

* [Bug c++/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2005-01-02  2:55 ` [Bug c++/16792] " pinskia at gcc dot gnu dot org
@ 2005-01-07 10:02 ` reichelt at gcc dot gnu dot org
  2005-03-13 22:18 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-07 10:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-01-07 10:02 -------
Fixed on mainline by Dan's patch for PR 19267:
http://gcc.gnu.org/ml/gcc-cvs/2005-01/msg00198.html

I checked all three testcases (original testcase and the ones in
comments #7 and #8).


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


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


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

* [Bug c++/16792] [4.0 regression] ICE in gen_subprogram_die, at dwarf2out.c:11267
  2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2005-01-07 10:02 ` reichelt at gcc dot gnu dot org
@ 2005-03-13 22:18 ` cvs-commit at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-13 22:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-13 22:18 -------
Subject: Bug 16792

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	bje@gcc.gnu.org	2005-03-13 22:17:59

Modified files:
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/g++.dg/debug: pr16792.C 

Log message:
	PR debug/16792
	* g++.dg/debug/pr16792.C: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5158&r2=1.5159
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/debug/pr16792.C.diff?cvsroot=gcc&r1=NONE&r2=1.1



-- 


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


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

end of thread, other threads:[~2005-03-13 22:18 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-28  1:01 [Bug debug/16792] New: ICE in gen_subprogram_die, at dwarf2out.c:11267 pbrook at gcc dot gnu dot org
2004-07-28  1:44 ` [Bug debug/16792] [3.5 regression] " bangerth at dealii dot org
2004-07-28  2:05 ` pinskia at gcc dot gnu dot org
2004-09-24 17:22 ` [Bug debug/16792] [4.0 " pinskia at gcc dot gnu dot org
2004-10-15 17:41 ` pinskia at gcc dot gnu dot org
2004-11-09  5:42 ` pinskia at gcc dot gnu dot org
2004-11-09 11:55 ` reichelt at gcc dot gnu dot org
2004-12-04  1:19 ` janis187 at us dot ibm dot com
2004-12-13  5:11 ` bje at gcc dot gnu dot org
2004-12-21  7:14 ` porten at kde dot org
2005-01-02  2:55 ` [Bug c++/16792] " pinskia at gcc dot gnu dot org
2005-01-07 10:02 ` reichelt at gcc dot gnu dot org
2005-03-13 22:18 ` cvs-commit at gcc dot gnu dot org

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).