public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/40405] [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member
  2009-06-10 19:49 [Bug c++/40405] New: [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member reichelt at gcc dot gnu dot org
@ 2009-06-10 19:49 ` reichelt at gcc dot gnu dot org
  2009-06-17 21:04 ` rguenth at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-06-10 19:49 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.3.4


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


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

* [Bug c++/40405]  New: [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member
@ 2009-06-10 19:49 reichelt at gcc dot gnu dot org
  2009-06-10 19:49 ` [Bug c++/40405] " reichelt at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2009-06-10 19:49 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet triggers an ICE sincd GCC 3.4.5
(with the exception of GCC 4.0.0 and 4.0.1):

=========================================
template<int, int> struct A
{
  static int i;
};

template<int> int A<0,0>::i = 0;

int j = A<0,0>::i;
=========================================

bug.cc:6:27: error: got 1 template parameters for 'int A<0, 0>::i'
bug.cc:6:27: error:   but 2 required
bug.cc:8:18: internal compiler error: in import_export_decl, at cp/decl2.c:2244
Please submit a full bug report, [etc.]


-- 
           Summary: [4.3/4.4/4.5 Regression] ICE with invalid initialization
                    of template member
           Product: gcc
           Version: 4.5.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=40405


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

* [Bug c++/40405] [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member
  2009-06-10 19:49 [Bug c++/40405] New: [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member reichelt at gcc dot gnu dot org
  2009-06-10 19:49 ` [Bug c++/40405] " reichelt at gcc dot gnu dot org
@ 2009-06-17 21:04 ` rguenth at gcc dot gnu dot org
  2009-08-04 12:49 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-06-17 21:04 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug c++/40405] [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member
  2009-06-10 19:49 [Bug c++/40405] New: [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member reichelt at gcc dot gnu dot org
  2009-06-10 19:49 ` [Bug c++/40405] " reichelt at gcc dot gnu dot org
  2009-06-17 21:04 ` rguenth at gcc dot gnu dot org
@ 2009-08-04 12:49 ` rguenth at gcc dot gnu dot org
  2009-08-25 15:35 ` bangerth at gmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-08-04 12:30 -------
GCC 4.3.4 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.4                       |4.3.5


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


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

* [Bug c++/40405] [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member
  2009-06-10 19:49 [Bug c++/40405] New: [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2009-08-04 12:49 ` rguenth at gcc dot gnu dot org
@ 2009-08-25 15:35 ` bangerth at gmail dot com
  2010-03-28  5:17 ` simartin at gcc dot gnu dot org
  2010-05-22 19:00 ` [Bug c++/40405] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: bangerth at gmail dot com @ 2009-08-25 15:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bangerth at gmail dot com  2009-08-25 15:35 -------
Confirmed.


-- 

bangerth at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at gmail dot com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-08-25 15:35:30
               date|                            |


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


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

* [Bug c++/40405] [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member
  2009-06-10 19:49 [Bug c++/40405] New: [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2009-08-25 15:35 ` bangerth at gmail dot com
@ 2010-03-28  5:17 ` simartin at gcc dot gnu dot org
  2010-05-22 19:00 ` [Bug c++/40405] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: simartin at gcc dot gnu dot org @ 2010-03-28  5:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from simartin at gcc dot gnu dot org  2010-03-28 05:17 -------
Seems to be due to:
 
http://gcc.gnu.org/viewcvs/trunk/gcc/toplev.c?r1=117578&r2=118362&diff_format=h


-- 

simartin at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/40405] [4.3/4.4/4.5/4.6 Regression] ICE with invalid initialization of template member
  2009-06-10 19:49 [Bug c++/40405] New: [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-03-28  5:17 ` simartin at gcc dot gnu dot org
@ 2010-05-22 19:00 ` rguenth at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 19:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2010-05-22 18:13 -------
GCC 4.3.5 is being released, adjusting target milestone.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.3.5                       |4.3.6


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


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

end of thread, other threads:[~2010-05-22 18:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-10 19:49 [Bug c++/40405] New: [4.3/4.4/4.5 Regression] ICE with invalid initialization of template member reichelt at gcc dot gnu dot org
2009-06-10 19:49 ` [Bug c++/40405] " reichelt at gcc dot gnu dot org
2009-06-17 21:04 ` rguenth at gcc dot gnu dot org
2009-08-04 12:49 ` rguenth at gcc dot gnu dot org
2009-08-25 15:35 ` bangerth at gmail dot com
2010-03-28  5:17 ` simartin at gcc dot gnu dot org
2010-05-22 19:00 ` [Bug c++/40405] [4.3/4.4/4.5/4.6 " 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).