public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/38636]  New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration
@ 2008-12-26 22:15 reichelt at gcc dot gnu dot org
  2008-12-26 22:16 ` [Bug c++/38636] " reichelt at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-26 22:15 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE since GCC 4.0.0:

========================================
struct A;

A::A(

struct B;
========================================

bug.cc:5: internal compiler error: in push_class_level_binding, at
cp/name-lookup.c:2756
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2/4.3/4.4 regression] ICE with broken ctor
                    declaration
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug c++/38636] [4.2/4.3/4.4 regression] ICE with broken ctor declaration
  2008-12-26 22:15 [Bug c++/38636] New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration reichelt at gcc dot gnu dot org
@ 2008-12-26 22:16 ` reichelt at gcc dot gnu dot org
  2008-12-26 22:24 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-12-26 22:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.5


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


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

* [Bug c++/38636] [4.2/4.3/4.4 regression] ICE with broken ctor declaration
  2008-12-26 22:15 [Bug c++/38636] New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration reichelt at gcc dot gnu dot org
  2008-12-26 22:16 ` [Bug c++/38636] " reichelt at gcc dot gnu dot org
@ 2008-12-26 22:24 ` pinskia at gcc dot gnu dot org
  2008-12-29 22:52 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-12-26 22:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-12-26 22:22 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.1.1 4.3.2 4.4.0
      Known to work|                            |4.0.1
   Last reconfirmed|0000-00-00 00:00:00         |2008-12-26 22:22:17
               date|                            |


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


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

* [Bug c++/38636] [4.2/4.3/4.4 regression] ICE with broken ctor declaration
  2008-12-26 22:15 [Bug c++/38636] New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration reichelt at gcc dot gnu dot org
  2008-12-26 22:16 ` [Bug c++/38636] " reichelt at gcc dot gnu dot org
  2008-12-26 22:24 ` pinskia at gcc dot gnu dot org
@ 2008-12-29 22:52 ` rguenth at gcc dot gnu dot org
  2009-01-13 16:56 ` dodji at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-12-29 22:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug c++/38636] [4.2/4.3/4.4 regression] ICE with broken ctor declaration
  2008-12-26 22:15 [Bug c++/38636] New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-12-29 22:52 ` rguenth at gcc dot gnu dot org
@ 2009-01-13 16:56 ` dodji at gcc dot gnu dot org
  2009-01-15 13:02 ` dodji at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-01-13 16:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

dodji at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |dodji at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2008-12-26 22:22:17         |2009-01-13 16:56:35
               date|                            |


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


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

* [Bug c++/38636] [4.2/4.3/4.4 regression] ICE with broken ctor declaration
  2008-12-26 22:15 [Bug c++/38636] New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-01-13 16:56 ` dodji at gcc dot gnu dot org
@ 2009-01-15 13:02 ` dodji at gcc dot gnu dot org
  2009-01-15 13:46 ` [Bug c++/38636] [4.2/4.3 " jakub at gcc dot gnu dot org
  2009-01-15 16:10 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: dodji at gcc dot gnu dot org @ 2009-01-15 13:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from dodji at gcc dot gnu dot org  2009-01-15 13:01 -------
Subject: Bug 38636

Author: dodji
Date: Thu Jan 15 13:01:36 2009
New Revision: 143392

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143392
Log:
gcc/cp/ChangeLog:
2009-01-13  Dodji Seketeli  <dodji@redhat.com>

        PR c++/38636
        * name-lookup.c (pushtag): Don't create members to types that are not
        being created.

gcc/testsuite/ChangeLog:
2009-01-13  Dodji Seketeli  <dodji@redhat.com>

        PR c++/38636
        * g++.dg/parse/crash50.C: New test.


Added:
    trunk/gcc/testsuite/g++.dg/parse/crash50.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/38636] [4.2/4.3 regression] ICE with broken ctor declaration
  2008-12-26 22:15 [Bug c++/38636] New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2009-01-15 13:02 ` dodji at gcc dot gnu dot org
@ 2009-01-15 13:46 ` jakub at gcc dot gnu dot org
  2009-01-15 16:10 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu dot org @ 2009-01-15 13:46 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2009-01-15 13:46 -------
Fixed on the trunk.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.1.1 4.3.2 4.4.0           |4.1.1 4.3.2
      Known to work|4.0.1                       |4.0.1 4.4.0
            Summary|[4.2/4.3/4.4 regression] ICE|[4.2/4.3 regression] ICE
                   |with broken ctor declaration|with broken ctor declaration


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


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

* [Bug c++/38636] [4.2/4.3 regression] ICE with broken ctor declaration
  2008-12-26 22:15 [Bug c++/38636] New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2009-01-15 13:46 ` [Bug c++/38636] [4.2/4.3 " jakub at gcc dot gnu dot org
@ 2009-01-15 16:10 ` rguenth at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-01-15 16:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2009-01-15 16:09 -------
Fixed for GCC 4.4.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.4.0


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


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

end of thread, other threads:[~2009-01-15 16:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-26 22:15 [Bug c++/38636] New: [4.2/4.3/4.4 regression] ICE with broken ctor declaration reichelt at gcc dot gnu dot org
2008-12-26 22:16 ` [Bug c++/38636] " reichelt at gcc dot gnu dot org
2008-12-26 22:24 ` pinskia at gcc dot gnu dot org
2008-12-29 22:52 ` rguenth at gcc dot gnu dot org
2009-01-13 16:56 ` dodji at gcc dot gnu dot org
2009-01-15 13:02 ` dodji at gcc dot gnu dot org
2009-01-15 13:46 ` [Bug c++/38636] [4.2/4.3 " jakub at gcc dot gnu dot org
2009-01-15 16:10 ` rguenth 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).