Mail Archives: djgpp-workers/1998/03/10/12:51:27
On Tue, Mar 10, 1998 at 09:57:47AM +0000, Salvador Eduardo Tropea (SET)
wrote:
> molnarl AT cdata DOT tvnet DOT hu wrote:
> >Hi!
> >
> >I'm not sure whether it is a new bug. I've found it with the latest
> >test version of perl.
> >
> >This program is a feature test for perl. Compile this with -O0 and it
> >prints 0, but with -O2 it prints 1. This bug also appears on linux
> >(2.7.2.3).
[...]
> That's isn't considered as a bug by the gcc maintainers. Just compile
like
> that: -O2 -ffloat-store and you'll get 0.
The perl folks will use another work around, because -ffloat-store is a
little bit too gcc specific for this feature test :-) But it's still
interesting that pgcc doesn't have this problem.
Laszlo
- Raw text -