[Bug target/93269] 32bit-pointer to uint64_t cast sign-extends

2020-01-14 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93269 --- Comment #4 from Jan Kratochvil --- Thanks.

[Bug target/93269] 32bit-pointer to uint64_t cast sign-extends

2020-01-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93269 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/93269] 32bit-pointer to uint64_t cast sign-extends

2020-01-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93269 --- Comment #2 from Andrew Pinski --- This is implementation defined area. And is documented. Neither is clang or gcc is wrong. Now I dont know where clang it is documented but I posted where gcc behavior is documented. So closing as invalid.

[Bug target/93269] 32bit-pointer to uint64_t cast sign-extends

2020-01-14 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93269 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Arrays-and-pointers-implementation.html#Arrays-and-pointers-implementation