public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/31337]  New: [4.2/4.3 regression] ICE with statement expression
@ 2007-03-24 22:59 reichelt at gcc dot gnu dot org
  2007-03-24 23:00 ` [Bug middle-end/31337] " reichelt at gcc dot gnu dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-03-24 22:59 UTC (permalink / raw)
  To: gcc-bugs

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

===========================
struct A
{
  int i[0];
  A();
  A(const A&);
};

void foo()
{
  A a = ({ A(); });
}
===========================

bug.cc: In function 'void foo()':
bug.cc:10: internal compiler error: in create_tmp_var, at gimplify.c:488
Please submit a full bug report, [etc.]


-- 
           Summary: [4.2/4.3 regression] ICE with statement expression
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: normal
          Priority: P3
         Component: middle-end
        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=31337


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

end of thread, other threads:[~2007-08-28 14:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-24 22:59 [Bug middle-end/31337] New: [4.2/4.3 regression] ICE with statement expression reichelt at gcc dot gnu dot org
2007-03-24 23:00 ` [Bug middle-end/31337] " reichelt at gcc dot gnu dot org
2007-03-25  6:47 ` [Bug c++/31337] " pinskia at gcc dot gnu dot org
2007-04-15 22:07 ` mmitchel at gcc dot gnu dot org
2007-04-23 16:19 ` janis at gcc dot gnu dot org
2007-04-23 19:19 ` jason at gcc dot gnu dot org
2007-05-14 21:32 ` mmitchel at gcc dot gnu dot org
2007-07-20  3:52 ` mmitchel at gcc dot gnu dot org
2007-08-27 20:02 ` jason at gcc dot gnu dot org
2007-08-27 22:05 ` jason at gcc dot gnu dot org
2007-08-28 14:00 ` jason 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).