[Bug c++/54580] 64-bit pointer to int cast fails

2012-09-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54580 --- Comment #3 from Jonathan Wakely 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

[Bug c++/54580] 64-bit pointer to int cast fails

2012-09-15 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54580 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/54580] 64-bit pointer to int cast fails

2012-09-14 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54580 --- Comment #1 from Andrew Pinski 2012-09-14 17:07:50 UTC --- C++ is not C.