[Bug c++/16112] New: [3.5 regression] ICE with statement expression in return statement
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 21 12:25:00 GMT 2004
Hi Jason,
your patch
http://gcc.gnu.org/ml/gcc-cvs/2004-06/msg00737.html
broke the following testcase (inspired by PR 11295) on mainline:
========================================
struct A
{
A();
};
A foo() { return ({ A(); }); }
========================================
Compiling this with "g++ -c" I get:
bug.cc: In function `A foo()':
bug.cc:11: internal compiler error: in gimplify_expr, at gimplify.c:3452
Please submit a full bug report, [etc.]
Could you please have a look?
--
Summary: [3.5 regression] ICE with statement expression in return
statement
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
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,jason at gcc dot gnu dot
org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16112
More information about the Gcc-bugs
mailing list