public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/29571]  New: [4.2/4.3 regression] ICE with invalid static const member
@ 2006-10-23 20:09 reichelt at gcc dot gnu dot org
  2006-10-23 20:16 ` [Bug c++/29571] " reichelt at gcc dot gnu dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-10-23 20:09 UTC (permalink / raw)
  To: gcc-bugs

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

======================================
struct A
{
  static const int i = 0/0 + "";
  static const int j = int(i);
};
======================================

bug.cc:3: warning: division by zero in '0 / 0'
bug.cc:3: error: invalid conversion from 'const char*' to 'int'
bug.cc:3: error: 'A::i' cannot be initialized by a non-constant expression when
being declared
bug.cc:4: internal compiler error: in build_c_cast, at cp/typeck.c:5491
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2/4.3 regression] ICE with invalid static const
                    member
           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=29571


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

* [Bug c++/29571] [4.2/4.3 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
@ 2006-10-23 20:16 ` reichelt at gcc dot gnu dot org
  2006-10-26 13:09 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2006-10-23 20:16 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=29571


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

* [Bug c++/29571] [4.2/4.3 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
  2006-10-23 20:16 ` [Bug c++/29571] " reichelt at gcc dot gnu dot org
@ 2006-10-26 13:09 ` pinskia at gcc dot gnu dot org
  2006-12-11  6:57 ` mmitchel at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-10-26 13:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-10-26 13:08 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
           Severity|normal                      |minor
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
      Known to fail|                            |4.2.0 4.3.0
      Known to work|                            |4.1.2
   Last reconfirmed|0000-00-00 00:00:00         |2006-10-26 13:08:55
               date|                            |


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


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

* [Bug c++/29571] [4.2/4.3 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
  2006-10-23 20:16 ` [Bug c++/29571] " reichelt at gcc dot gnu dot org
  2006-10-26 13:09 ` pinskia at gcc dot gnu dot org
@ 2006-12-11  6:57 ` mmitchel at gcc dot gnu dot org
  2007-02-19 20:35 ` mmitchel at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-12-11  6:57 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/29571] [4.2/4.3 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-12-11  6:57 ` mmitchel at gcc dot gnu dot org
@ 2007-02-19 20:35 ` mmitchel at gcc dot gnu dot org
  2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-19 20:35 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=29571


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

* [Bug c++/29571] [4.2/4.3 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-02-19 20:35 ` mmitchel at gcc dot gnu dot org
@ 2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
  2007-07-20  3:49 ` mmitchel at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-05-14 21:32 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=29571


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

* [Bug c++/29571] [4.2/4.3 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
@ 2007-07-20  3:49 ` mmitchel at gcc dot gnu dot org
  2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-07-20  3:49 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=29571


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

* [Bug c++/29571] [4.2/4.3 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-07-20  3:49 ` mmitchel at gcc dot gnu dot org
@ 2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
  2008-02-01 16:56 ` jsm28 at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-10-09 19:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 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=29571


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

* [Bug c++/29571] [4.2/4.3 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
@ 2008-02-01 16:56 ` jsm28 at gcc dot gnu dot org
  2008-05-19 20:47 ` [Bug c++/29571] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-02-01 16:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 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=29571


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

* [Bug c++/29571] [4.2/4.3/4.4 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-02-01 16:56 ` jsm28 at gcc dot gnu dot org
@ 2008-05-19 20:47 ` jsm28 at gcc dot gnu dot org
  2009-01-01 21:36 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jsm28 at gcc dot gnu dot org  2008-05-19 20:22 -------
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=29571


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

* [Bug c++/29571] [4.2/4.3/4.4 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2008-05-19 20:47 ` [Bug c++/29571] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2009-01-01 21:36 ` pinskia at gcc dot gnu dot org
  2009-01-02  5:01 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-01-01 21:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2009-01-01 21:34 -------
Mark,
  This has been assigned to you for two years without any progress, are you
actively working on this?  If not please unassign this bug.


-- 


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


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

* [Bug c++/29571] [4.2/4.3/4.4 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2009-01-01 21:36 ` pinskia at gcc dot gnu dot org
@ 2009-01-02  5:01 ` mmitchel at gcc dot gnu dot org
  2009-03-31 20:06 ` [Bug c++/29571] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  13 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2009-01-02  5:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from mmitchel at gcc dot gnu dot org  2009-01-02 04:59 -------
I am not working on this.


-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|mark at codesourcery dot com|unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW


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


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

* [Bug c++/29571] [4.3/4.4/4.5 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2009-01-02  5:01 ` mmitchel at gcc dot gnu dot org
@ 2009-03-31 20:06 ` jsm28 at gcc dot gnu dot org
  2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:18 ` [Bug c++/29571] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 20:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jsm28 at gcc dot gnu dot org  2009-03-31 20:05 -------
Closing 4.2 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2/4.3/4.4/4.5 regression]|[4.3/4.4/4.5 regression] ICE
                   |ICE with invalid static     |with invalid static const
                   |const member                |member
   Target Milestone|4.2.5                       |4.3.4


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


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

* [Bug c++/29571] [4.3/4.4/4.5 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2009-03-31 20:06 ` [Bug c++/29571] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
  2010-05-22 18:18 ` [Bug c++/29571] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from rguenth at gcc dot gnu dot org  2009-08-04 12:28 -------
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=29571


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

* [Bug c++/29571] [4.3/4.4/4.5/4.6 regression] ICE with invalid static const member
  2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
@ 2010-05-22 18:18 ` rguenth at gcc dot gnu dot org
  13 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2010-05-22 18:11 -------
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=29571


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

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

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-23 20:09 [Bug c++/29571] New: [4.2/4.3 regression] ICE with invalid static const member reichelt at gcc dot gnu dot org
2006-10-23 20:16 ` [Bug c++/29571] " reichelt at gcc dot gnu dot org
2006-10-26 13:09 ` pinskia at gcc dot gnu dot org
2006-12-11  6:57 ` mmitchel at gcc dot gnu dot org
2007-02-19 20:35 ` mmitchel at gcc dot gnu dot org
2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
2007-07-20  3:49 ` mmitchel at gcc dot gnu dot org
2007-10-09 19:28 ` mmitchel at gcc dot gnu dot org
2008-02-01 16:56 ` jsm28 at gcc dot gnu dot org
2008-05-19 20:47 ` [Bug c++/29571] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2009-01-01 21:36 ` pinskia at gcc dot gnu dot org
2009-01-02  5:01 ` mmitchel at gcc dot gnu dot org
2009-03-31 20:06 ` [Bug c++/29571] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:35 ` rguenth at gcc dot gnu dot org
2010-05-22 18:18 ` [Bug c++/29571] [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).