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]

[Bug other/52609] -Wstrict-aliasing / missed diagnostics


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52609

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-17 21:57:19 UTC ---
>accessing unsigned* via float* looks buggy

It does not have to be if the original argument was originally of type float.
Aliasing is not about type of pointers but the type which is used to access and
such.


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