This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/54580] 64-bit pointer to int cast fails
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 15 Sep 2012 17:57:52 +0000
- Subject: [Bug c++/54580] 64-bit pointer to int cast fails
- Auto-submitted: auto-generated
- References: <bug-54580-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54580
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-09-15 17:57:52 UTC ---
Or strictly, should be rejected by any 64-bit compiler with 32-bit int (which
is practically all of them) and any 32-bit compiler with 16-bit short.
Certainly invalid for g++ on LP64 platforms.