login
Header Space

 
 

Re: GCC-4 compiler bug

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <kernel@...>
Date: Wednesday, November 28, 2007 - 11:42 pm

On Wed, 28 Nov 2007 19:57:15 -0600, Matthew D. Fuller wrote:


Yeah, I get that same result if add optimization. Daniel's suggest of add 
-fwrapv seems to solve this problem.

% cc -O2 -fwrapv -o test test.c
% ./test
X

Cheers,
Mezz

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: GCC-4 compiler bug, Jeremy Messenger, (Wed Nov 28, 11:42 pm)
speck-geostationary