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.