This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Falk Hueffner wrote:
>
> It doesn't know that. The warning is for the *creation* of the
> type-punned pointer, which is still perfectly fine. Gcc is too stupid
> to notice whether you actually dereference it.
>

Yup. There are billions of this constructs in everbodies
and his moms source files. By now (< 4.0.0) this did not
hurt.


Regards

Harri

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]