public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/28266]  New: [4.0/4.1/4.2 regression] ICE on invalid default variable
@ 2006-07-05 12:19 reichelt at gcc dot gnu dot org
  2006-07-05 14:48 ` [Bug c++/28266] " pinskia 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-07-05 12:19 UTC (permalink / raw)
  To: gcc-bugs

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

====================
struct A
{
  int i;
  A(int = X);
};

void foo()
{
  A().i;
}
====================

bug.cc:4: error: 'X' was not declared in this scope
bug.cc: In function 'void foo()':
bug.cc:9: internal compiler error: in gimple_add_tmp_var, at gimplify.c:720
Please submit a full bug report, [etc.]


-- 
           Summary: [4.0/4.1/4.2 regression] ICE on invalid default variable
           Product: gcc
           Version: 4.2.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=28266


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

end of thread, other threads:[~2008-07-04 15:40 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-05 12:19 [Bug c++/28266] New: [4.0/4.1/4.2 regression] ICE on invalid default variable reichelt at gcc dot gnu dot org
2006-07-05 14:48 ` [Bug c++/28266] " pinskia at gcc dot gnu dot org
2006-07-17  3:07 ` mmitchel at gcc dot gnu dot org
2006-09-03  6:33 ` pinskia at gcc dot gnu dot org
2006-09-10  7:55 ` patchapp at dberlin dot org
2007-01-29 16:27 ` [Bug c++/28266] [4.0/4.1/4.2/4.3 " jason at gcc dot gnu dot org
2007-02-01 20:11 ` [Bug c++/28266] [4.0/4.1/4.2 " reichelt at gcc dot gnu dot org
2007-02-01 20:12 ` reichelt at gcc dot gnu dot org
2007-02-02 18:02 ` jason at gcc dot gnu dot org
2007-02-03 17:54 ` gdr at gcc dot gnu dot org
2007-02-03 20:47 ` pinskia at gcc dot gnu dot org
2007-02-14  9:26 ` mmitchel at gcc dot gnu dot org
2007-07-08 14:34 ` [Bug c++/28266] [4.0/4.1 " pcarlini at suse dot de
2008-07-04 15:40 ` [Bug c++/28266] [4.1 " 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).