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 c/54037] Warn pointer to signed integer cast for ilp32


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-07-19 21:55:24 UTC ---
(In reply to comment #1)
> Created attachment 27836 [details]
> A patch to add -Wpointer-to-signed-int-cast

This won't work for intptr_t which is a signed integer type.


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