This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/17483] [4.0 regression] ICE at -O3 when passing a reference.


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]