This is a discussion on Re: gcc -O2 error - FreeBSD ; On Sat, 22 Mar 2008 19:39:32 +0100 Kris Kennaway wrote: > So, did you consider perhaps following this advice? ;-) > > Kris > Yes I did. The reason I send to this list also is that in make.conf manual ...
On Sat, 22 Mar 2008 19:39:32 +0100
> So, did you consider perhaps following this advice? ;-)
Yes I did.
The reason I send to this list also is that in make.conf manual says:
CFLAGS (str) Controls the compiler setting when compiling C code.
Optimization levels other than -O and -O2 are not
That means that -O2 should be supported in FreeBSD. And now it happens
to produce bad code.
GCC people think that this should be fixed in gcc 4.3.
I have not yet installed and verified that. However I tried the code
with linux installation with gcc 4.1.2 and it was ok.
As I don't known if gcc has some maintaining done in FreeBSD tree by
patching or just by integrating the next snapshot from time to time.
So I just though to report it in case that maintainers of
FreeBSD version of gcc might want to take a look at this.
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"