[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/45837 (perl is miscompiled on sparc64-current)
The following reply was made to PR toolchain/45837; it has been noted by GNATS.
From: Martin Husemann <martin%duskware.de@localhost>
Subject: Re: toolchain/45837 (perl is miscompiled on sparc64-current)
Date: Thu, 3 May 2012 21:47:01 +0200
After a lot more digging around, I have identified it as a gcc bug and
filed upstream bug report http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53219
Basically gcc inlines a small function, not creating a new register window,
then overwrites %i0 and does not restore it.
In the simple test, this ends up with %i0 (which should be my_perl, the
context for the whole function) as NULL. On next deref, we crash.
Main Index |
Thread Index |