Re: gcc 4.0.0 on amd64: problem with -O2?

2005-05-08 Thread Falk Hueffner
Harald Dunkel <[EMAIL PROTECTED]> writes: > Andrew Pinski wrote: >> Wrong, try again. Violating aliasing rules cause undefined behavior >> so seg faulting is an okay thing to do. > > But producing a warning message and bad code is not OK. Either > using a "type-punned pointer" should be treated a

Re: [Bug c/22485] pointer +- integer is never NULL

2005-07-14 Thread Falk Hueffner
Gabriel Dos Reis <[EMAIL PROTECTED]> writes: > "falk at debian dot org" <[EMAIL PROTECTED]> writes: > > | --- Additional Comments From falk at debian dot org 2005-07-14 15:37 > --- > | (In reply to comment #7) > | > | > I'm failing to find anything in the C++ standard that suggests that