[Bug c/54032] The C compiler does not warn about casts to more aligned types

2017-03-24 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54032

Martin Sebor  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 CC||msebor at gcc dot gnu.org
 Resolution|--- |DUPLICATE

--- Comment #3 from Martin Sebor  ---
Agreed, thanks.

Note that GCC does not warn on this code on STRICT_ALIGNMENT targets (such as
arm-linux-gnueabi.)

*** This bug has been marked as a duplicate of bug 41809 ***

[Bug c/54032] The C compiler does not warn about casts to more aligned types

2017-03-24 Thread egall at gwmail dot gwu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54032

Eric Gallager  changed:

   What|Removed |Added

 CC||egall at gwmail dot gwu.edu

--- Comment #2 from Eric Gallager  ---
This could probably also be marked as a duplicate of bug 41809 (like bug 79918
was) since that one is older and it looks like the same issue.

[Bug c/54032] The C compiler does not warn about casts to more aligned types

2012-07-19 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54032

--- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2012-07-19 
21:43:41 UTC ---
It does warn on STRICT_ALIGN targets though.