On Thu, 7 Dec 2000 [EMAIL PROTECTED] wrote:
I'm not a constraints expert either, but I noticed that when I try to
build a kernel WITHOUT any optimization, I get a failure in
/usr/src/sys/i386/atomic.h .
# make atomic.o
cc -c -O0 -pipe -Wall -Wredundant-decls -Wnested-externs
...
On Fri, 8 Dec 2000, John Baldwin wrote:
On 08-Dec-00 [EMAIL PROTECTED] wrote:
John,
I'm not a constraints expert either, but I noticed that when I try to
build a kernel WITHOUT any optimization, I get a failure in
/usr/src/sys/i386/atomic.h .
Compiling a kernel with anything
On 08-Dec-00 [EMAIL PROTECTED] wrote:
John,
I'm not a constraints expert either, but I noticed that when I try to
build a kernel WITHOUT any optimization, I get a failure in
/usr/src/sys/i386/atomic.h .
Compiling a kernel with anything but -O for optimization is not supported. gcc
I hit on it by accident (I normally compile with -O). That said, your
claim that gcc with no optimization generates incorrect code is
kind of counter-intuitive, wouldn't you say ?
I think you missed my point, I was just illustrating that optimizer seems
to affect (in my case apparently negate)
RE: possibly related data point - (was) Re: Current Broken!
On 08-Dec-00 [EMAIL PROTECTED] wrote:
I hit on it by accident (I normally compile with -O). That said,
your
claim that gcc with no optimization generates incorrect code is
kind of counter-intuitive, wouldn't you say ?
I've see
On 08-Dec-00 [EMAIL PROTECTED] wrote:
I hit on it by accident (I normally compile with -O). That said, your
claim that gcc with no optimization generates incorrect code is
kind of counter-intuitive, wouldn't you say ?
I've seen it do weird things with -O0 (mostly with C++). :) It's just