From: molnarl AT cdata DOT tvnet DOT hu Date: Tue, 10 Mar 1998 18:48:46 +0100 (MET) To: djgpp-workers AT delorie DOT com Subject: Re: ISN'T A BUG in 2.8.0 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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