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]

Re: optimization/7675: [3.2/3.3 regression] ICE in fixup_var_refs_1


Here's a reduced testcase (crashes on i686-pc-linux-gnu and
mips-sgi-irix6.5 since gcc 3.0). Just compile with "gcc -O -c".

---------------------snip here---------------------
void foo(int i, int j)
{
    int k=j;

    void bar() { int x=k, y=i, z=j; }

    dummy(&j);
}
---------------------snip here---------------------

BTW, the bug is unrelated to PR 7370 and PR 7324 - those are already
fixed.

Regards,
Volker

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7675



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