https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33437
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|NEW |RESOLVED Known to fail| | --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is not a valid C. That is (int)(long)x where sizeof(long)!=sizeof(int)!=sizeof(void*) the linker might not know the value at link time and therefor will need a runtime relocation and then it might not load at load time as the value would have gotten truncated.