[Bug optimization/15381] [3.5 Regression] Bootstrap comparison failure!
dave at hiauly1 dot hia dot nrc dot ca
gcc-bugzilla@gcc.gnu.org
Wed May 12 15:26:00 GMT 2004
------- Additional Comments From dave at hiauly1 dot hia dot nrc dot ca 2004-05-11 18:34 -------
Subject: Re: [3.5 Regression] Bootstrap comparison fa
The following test program is miscompiled by the stage3 compiler:
double
foo (void)
{
return 0.5;
}
It results in the following assembly code:
bv %r0(%r2)
fcpy,dbl %fr0,%fr4
The above code returns 0. (%fr0) instead of 0.5.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15381
More information about the Gcc-bugs
mailing list