This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17483] [4.0 regression] ICE at -O3 when passing a reference.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2004 01:36:00 -0000
- Subject: [Bug tree-optimization/17483] [4.0 regression] ICE at -O3 when passing a reference.
- References: <20040914200117.17483.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-17 01:36 -------
Here is a testcase which fails on x86 (where we do NRV early in the front-end):
struct A { int i; int j, k,l,m; };
struct A foo()
{
struct A a;
int *aaa = &a.i;
*aaa = 0;
return a;
}
void bar()
{
foo();
}
: Search converges between 2004-08-30-trunk (#529) and 2004-08-31-trunk (#530).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17483