[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#372913: gcc-4.1: datatype limits / signedness differs with optimization levels



On Mon, Jun 12, 2006 at 06:39:27PM +0200, Erik Meusel wrote:
> Alright, but why does this work differently using different versions of gcc or 
> different optimization levels?

That is the meaning of undefined behaviour. You can't predict anything.
Therefor gcc is free to remove tests if it does not violate the defined
and documented behaviour.

Bastian

PS: Please close the bug.

-- 
Conquest is easy. Control is not.
		-- Kirk, "Mirror, Mirror", stardate unknown

Attachment: signature.asc
Description: Digital signature


Reply to: