public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30299] [4.2/4.3 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
@ 2006-12-26 11:54 ` reichelt at gcc dot gnu dot org
  2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-26 11:54 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.2.0


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


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

* [Bug c++/30299]  New: [4.2/4.3 regression] ICE with broken template and inheritance
@ 2006-12-26 11:54 reichelt at gcc dot gnu dot org
  2006-12-26 11:54 ` [Bug c++/30299] " reichelt at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-12-26 11:54 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE on mainline and 4.2 branch:

==================================
struct A
{
  int i;
};

template<void> struct B : A
{
  B() { this->i; }
};
==================================

bug.cc:6: error: 'void' is not a valid type for a template constant parameter
bug.cc: In constructor 'B<<declaration error> >::B()':
bug.cc:8: internal compiler error: in build_simple_base_path, at cp/class.c:473
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2/4.3 regression] ICE with broken template and
                    inheritance
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, 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=30299


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

* [Bug c++/30299] [4.2/4.3 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
  2006-12-26 11:54 ` [Bug c++/30299] " reichelt at gcc dot gnu dot org
@ 2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
  2007-02-19 20:59 ` mmitchel at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-12-26 22:33 UTC (permalink / raw)
  To: gcc-bugs



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


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-12-26 22:33:40
               date|                            |


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


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

* [Bug c++/30299] [4.2/4.3 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
  2006-12-26 11:54 ` [Bug c++/30299] " reichelt at gcc dot gnu dot org
  2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
@ 2007-02-19 20:59 ` mmitchel at gcc dot gnu dot org
  2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-19 20:59 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug c++/30299] [4.2/4.3 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-02-19 20:59 ` mmitchel at gcc dot gnu dot org
@ 2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
  2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-05-14 21:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from mmitchel at gcc dot gnu dot org  2007-05-14 22:27 -------
Will not be fixed in 4.2.0; retargeting at 4.2.1.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.0                       |4.2.1


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


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

* [Bug c++/30299] [4.2/4.3 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
@ 2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
  2007-09-30 15:50 ` pcarlini at suse dot de
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-20  3:52 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.1                       |4.2.2


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


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

* [Bug c++/30299] [4.2/4.3 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
@ 2007-09-30 15:50 ` pcarlini at suse dot de
  2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pcarlini at suse dot de @ 2007-09-30 15:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pcarlini at suse dot de  2007-09-30 15:50 -------
My patch for PR31446 fixes this one too ;)


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/30299] [4.2/4.3 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-09-30 15:50 ` pcarlini at suse dot de
@ 2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
  2007-10-16 22:41 ` paolo at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-09 19:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from mmitchel at gcc dot gnu dot org  2007-10-09 19:22 -------
Change target milestone to 4.2.3, as 4.2.2 has been released.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.2                       |4.2.3


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


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

* [Bug c++/30299] [4.2/4.3 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
@ 2007-10-16 22:41 ` paolo at gcc dot gnu dot org
  2007-10-16 22:44 ` [Bug c++/30299] [4.2 " pcarlini at suse dot de
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: paolo at gcc dot gnu dot org @ 2007-10-16 22:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from paolo at gcc dot gnu dot org  2007-10-16 22:41 -------
Subject: Bug 30299

Author: paolo
Date: Tue Oct 16 22:41:32 2007
New Revision: 129392

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129392
Log:
2007-10-16  Paolo Carlini  <pcarlini@suse.de>

        PR c++/28639
        PR c++/30299
        * g++.dg/template/void12.C: New.
        * g++.dg/template/void13.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/void12.C
    trunk/gcc/testsuite/g++.dg/template/void13.C
Modified:
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/30299] [4.2 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2007-10-16 22:41 ` paolo at gcc dot gnu dot org
@ 2007-10-16 22:44 ` pcarlini at suse dot de
  2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: pcarlini at suse dot de @ 2007-10-16 22:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pcarlini at suse dot de  2007-10-16 22:44 -------
Fixed in mainline.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pcarlini at suse dot de     |unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW
            Summary|[4.2/4.3 regression] ICE    |[4.2 regression] ICE with
                   |with broken template and    |broken template and
                   |inheritance                 |inheritance


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


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

* [Bug c++/30299] [4.2 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2007-10-16 22:44 ` [Bug c++/30299] [4.2 " pcarlini at suse dot de
@ 2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
  2008-03-16 17:17 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 16:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jsm28 at gcc dot gnu dot org  2008-02-01 16:53 -------
4.2.3 is being released now, changing milestones of open bugs to 4.2.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.3                       |4.2.4


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


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

* [Bug c++/30299] [4.2 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
@ 2008-03-16 17:17 ` rguenth at gcc dot gnu dot org
  2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
  2009-03-30 20:19 ` jsm28 at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-16 17:17 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.3.0
           Priority|P4                          |P5


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


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

* [Bug c++/30299] [4.2 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2008-03-16 17:17 ` rguenth at gcc dot gnu dot org
@ 2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
  2009-03-30 20:19 ` jsm28 at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jsm28 at gcc dot gnu dot org  2008-05-19 20:23 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/30299] [4.2 regression] ICE with broken template and inheritance
  2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
@ 2009-03-30 20:19 ` jsm28 at gcc dot gnu dot org
  12 siblings, 0 replies; 14+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-30 20:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jsm28 at gcc dot gnu dot org  2009-03-30 20:19 -------
Closing 4.2 branch, fixed in 4.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|                            |4.2.5
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.0


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


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

end of thread, other threads:[~2009-03-30 20:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-26 11:54 [Bug c++/30299] New: [4.2/4.3 regression] ICE with broken template and inheritance reichelt at gcc dot gnu dot org
2006-12-26 11:54 ` [Bug c++/30299] " reichelt at gcc dot gnu dot org
2006-12-26 22:33 ` pinskia at gcc dot gnu dot org
2007-02-19 20:59 ` mmitchel at gcc dot gnu dot org
2007-05-14 21:30 ` mmitchel at gcc dot gnu dot org
2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
2007-09-30 15:50 ` pcarlini at suse dot de
2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
2007-10-16 22:41 ` paolo at gcc dot gnu dot org
2007-10-16 22:44 ` [Bug c++/30299] [4.2 " pcarlini at suse dot de
2008-02-01 16:59 ` jsm28 at gcc dot gnu dot org
2008-03-16 17:17 ` rguenth at gcc dot gnu dot org
2008-05-19 20:28 ` jsm28 at gcc dot gnu dot org
2009-03-30 20:19 ` jsm28 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).