Re: possibly related data point - (was) Re: Current Broken!

2000-12-10 Thread Bruce Evans
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 ...

RE: possibly related data point - (was) Re: Current Broken!

2000-12-10 Thread Bruce Evans
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

RE: possibly related data point - (was) Re: Current Broken!

2000-12-08 Thread John Baldwin
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

RE: possibly related data point - (was) Re: Current Broken!

2000-12-08 Thread atrens
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)

Current Locking up... Re: possibly related data point - (was) Re: Current Broken!

2000-12-08 Thread Steven E. Ames
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

RE: possibly related data point - (was) Re: Current Broken!

2000-12-08 Thread John Baldwin
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