public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19963] New: ICE on invalid member declaration
@ 2005-02-15  8:05 reichelt at gcc dot gnu dot org
  2005-02-15  8:44 ` [Bug c++/19963] " pinskia at gcc dot gnu dot org
  2005-07-23  5:11 ` pinskia at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-02-15  8:05 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet causes an ICE since at least gcc 2.95.3:

==================
struct A
{
    A : 2;
};
==================

bug.cc:3: error: name 'A' has incomplete type
bug.cc:2: internal compiler error: tree check: expected class 'type', have
'exceptional' (error_mark) in layout_class_type, at cp/class.c:4571
Please submit a full bug report, [etc.]

-- 
           Summary: ICE on invalid member declaration
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code, error-recovery, monitored
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


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


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

* [Bug c++/19963] ICE on invalid member declaration
  2005-02-15  8:05 [Bug c++/19963] New: ICE on invalid member declaration reichelt at gcc dot gnu dot org
@ 2005-02-15  8:44 ` pinskia at gcc dot gnu dot org
  2005-07-23  5:11 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-15  8:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-15 00:40 -------
Confirmed.  I thought I really saw this before.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-02-15 00:40:34
               date|                            |


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


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

* [Bug c++/19963] ICE on invalid member declaration
  2005-02-15  8:05 [Bug c++/19963] New: ICE on invalid member declaration reichelt at gcc dot gnu dot org
  2005-02-15  8:44 ` [Bug c++/19963] " pinskia at gcc dot gnu dot org
@ 2005-07-23  5:11 ` pinskia at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-23  5:11 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


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


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

end of thread, other threads:[~2005-07-23  5:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-15  8:05 [Bug c++/19963] New: ICE on invalid member declaration reichelt at gcc dot gnu dot org
2005-02-15  8:44 ` [Bug c++/19963] " pinskia at gcc dot gnu dot org
2005-07-23  5:11 ` pinskia 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).