Bug#325131: gcc-4.0: regression on hppa and arm, possibly wrong code
On Mon, Sep 12, 2005 at 03:49:26PM +0200, Falk Hueffner wrote:
>
> Max Vozeler <max@decl.org>, 325131@bugs.debian.org schrieb am 12.09.05 13:48:41:
> > On Mon, Sep 12, 2005 at 01:29:38PM +0200, Max Vozeler wrote:
> > > I've been able to find a reduced testcase that shows the problem.
> > > can find below the results using gcc-3.4 and gcc-4.0 with -O1/-O2 each.
> > > The problem only shows with gcc-4.0 and -O2 on hppa.
>
> Thanks a lot, this is really helpful.
>
> Here is a smaller test case. It also fails on i386 with
> gcc-4.120050705 at -O2 -fschedule-insns, but not with
> -fno-schedule-insns, so the bug seems to be in instruction scheduling.
Indeed, I can confirm this.
Building aespipe with -fno-schedule-insns -O2 in the same environment
that previously failed (paer sid chroot) produces correct results and
makes it pass the testsuite.
cheers,
Max
Reply to: