public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/30189]  New: [4.1 Regression] ICE on modified_type_die
@ 2006-12-12 22:47 jakub at gcc dot gnu dot org
  2006-12-13 11:09 ` [Bug debug/30189] " jakub at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-12-12 22:47 UTC (permalink / raw)
  To: gcc-bugs

/* { dg-do compile } */
/* { dg-options "-g -O" } */

extern void foo (void);

static
void baz (int i)
{
  foo ();
  typedef char A[i];
  struct { A b; } *x = 0;
}

void
bar (i)
{
  baz (i);
}

ICEs in modified_type_die in 4.1.x (x86_64-linux -m32, -m64, ppc-linux -m32,
-m64 at least).  Works with 3.4.6 as well as 4.2.x.


-- 
           Summary: [4.1 Regression] ICE on modified_type_die
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
@ 2006-12-13 11:09 ` jakub at gcc dot gnu dot org
  2006-12-14  3:56 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-12-13 11:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2006-12-13 11:09 -------
"Fixed" by http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01014.html
modified_type_die rearrangment, which dropped the assert (not sure if
intentionally or not).


-- 


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
  2006-12-13 11:09 ` [Bug debug/30189] " jakub at gcc dot gnu dot org
@ 2006-12-14  3:56 ` pinskia at gcc dot gnu dot org
  2007-01-03 16:37 ` aoliva at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-14  3:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
   Target Milestone|---                         |4.1.2


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
  2006-12-13 11:09 ` [Bug debug/30189] " jakub at gcc dot gnu dot org
  2006-12-14  3:56 ` pinskia at gcc dot gnu dot org
@ 2007-01-03 16:37 ` aoliva at gcc dot gnu dot org
  2007-01-03 17:05 ` patchapp at dberlin dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2007-01-03 16:37 UTC (permalink / raw)
  To: gcc-bugs



-- 

aoliva at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |aoliva at gcc dot gnu dot
                   |dot org                     |org
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-03 16:37:20
               date|                            |


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-01-03 16:37 ` aoliva at gcc dot gnu dot org
@ 2007-01-03 17:05 ` patchapp at dberlin dot org
  2007-02-05  5:46 ` mmitchel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-03 17:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from patchapp at dberlin dot org  2007-01-03 17:05 -------
Subject: Bug number PR debug/30189

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00140.html


-- 


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-01-03 17:05 ` patchapp at dberlin dot org
@ 2007-02-05  5:46 ` mmitchel at gcc dot gnu dot org
  2007-02-06  1:35 ` aoliva at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-05  5:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from mmitchel at gcc dot gnu dot org  2007-02-05 05:46 -------
This patch is OK for mainline and 4.2, and for 4.1 after it reopens.


-- 


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-02-05  5:46 ` mmitchel at gcc dot gnu dot org
@ 2007-02-06  1:35 ` aoliva at gcc dot gnu dot org
  2007-02-06  1:35 ` aoliva at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2007-02-06  1:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from aoliva at gcc dot gnu dot org  2007-02-06 01:34 -------
Subject: Bug 30189

Author: aoliva
Date: Tue Feb  6 01:34:37 2007
New Revision: 121637

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121637
Log:
gcc/ChangeLog:
PR debug/30189
* dwarf2out.c (modified_type_die): Follow DECL_ORIGINAL_TYPE
even if cv-qualification is the same.
gcc/testsuite/ChangeLog:
PR debug/30189
* gcc.dg/pr30189.c: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/gcc.dg/pr30189.c
Modified:
    branches/gcc-4_2-branch/gcc/ChangeLog
    branches/gcc-4_2-branch/gcc/dwarf2out.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-02-06  1:35 ` aoliva at gcc dot gnu dot org
@ 2007-02-06  1:35 ` aoliva at gcc dot gnu dot org
  2007-02-14  9:22 ` mmitchel at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2007-02-06  1:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from aoliva at gcc dot gnu dot org  2007-02-06 01:35 -------
Subject: Bug 30189

Author: aoliva
Date: Tue Feb  6 01:35:10 2007
New Revision: 121638

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121638
Log:
gcc/ChangeLog:
PR debug/30189
* dwarf2out.c (modified_type_die): Follow DECL_ORIGINAL_TYPE
even if cv-qualification is the same.
gcc/testsuite/ChangeLog:
PR debug/30189
* gcc.dg/pr30189.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr30189.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/dwarf2out.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-02-06  1:35 ` aoliva at gcc dot gnu dot org
@ 2007-02-14  9:22 ` mmitchel at gcc dot gnu dot org
  2007-02-15  7:27 ` aoliva at gcc dot gnu dot org
  2007-02-15  7:27 ` aoliva at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14  9:22 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.1.2                       |4.1.3


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2007-02-15  7:27 ` aoliva at gcc dot gnu dot org
@ 2007-02-15  7:27 ` aoliva at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2007-02-15  7:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from aoliva at gcc dot gnu dot org  2007-02-15 07:27 -------
Subject: Bug 30189

Author: aoliva
Date: Thu Feb 15 07:27:00 2007
New Revision: 121986

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121986
Log:
gcc/ChangeLog:
PR debug/30189
* dwarf2out.c (modified_type_die): Follow DECL_ORIGINAL_TYPE
even if cv-qualification is the same.
gcc/testsuite/ChangeLog:
PR debug/30189
* gcc.dg/pr30189.c: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/gcc.dg/pr30189.c
Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/dwarf2out.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug debug/30189] [4.1 Regression] ICE on modified_type_die
  2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-02-14  9:22 ` mmitchel at gcc dot gnu dot org
@ 2007-02-15  7:27 ` aoliva at gcc dot gnu dot org
  2007-02-15  7:27 ` aoliva at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: aoliva at gcc dot gnu dot org @ 2007-02-15  7:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from aoliva at gcc dot gnu dot org  2007-02-15 07:27 -------
Fixed


-- 

aoliva at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-02-15  7:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-12 22:47 [Bug debug/30189] New: [4.1 Regression] ICE on modified_type_die jakub at gcc dot gnu dot org
2006-12-13 11:09 ` [Bug debug/30189] " jakub at gcc dot gnu dot org
2006-12-14  3:56 ` pinskia at gcc dot gnu dot org
2007-01-03 16:37 ` aoliva at gcc dot gnu dot org
2007-01-03 17:05 ` patchapp at dberlin dot org
2007-02-05  5:46 ` mmitchel at gcc dot gnu dot org
2007-02-06  1:35 ` aoliva at gcc dot gnu dot org
2007-02-06  1:35 ` aoliva at gcc dot gnu dot org
2007-02-14  9:22 ` mmitchel at gcc dot gnu dot org
2007-02-15  7:27 ` aoliva at gcc dot gnu dot org
2007-02-15  7:27 ` aoliva 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).