This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/54037] Warn pointer to signed integer cast for ilp32
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 19 Jul 2012 21:55:24 +0000
- Subject: [Bug c/54037] Warn pointer to signed integer cast for ilp32
- Auto-submitted: auto-generated
- References: <bug-54037-4@http.gcc.gnu.org/bugzilla/>
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.