This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: [PATCH] aliasing warning in ctype.h


Jakub Jelinek writes:

> This is wrong, although you shut up a warning, you actually create
> code which (unlike original) does the illegal type punning
> (and thus the compiler might/will miscompile it).

So you're saying that gcc will warn on code which is actually OK, but
won't warn on code that is actually broken?  Great. :(

Paul.


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