This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/66086] Casting a pointer to an uintptr_t and later to a double confuses the optimizer
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 10 May 2015 10:05:41 +0000
- Subject: [Bug c/66086] Casting a pointer to an uintptr_t and later to a double confuses the optimizer
- Auto-submitted: auto-generated
- References: <bug-66086-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66086
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Is don't think there is a way turn back a double into a point reliability. if
pointers are 32bit and double are 64 bit, it might work. But really it is
unportable.