[Bug c/69760] [4.9/5/6 Regression] Wrong 64-bit memory address caused by an unneeded overflowing 32-bit integer multiplication on x86_64 under -O2 and -O3 code optimization
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 11 08:47:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69760
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amker at gcc dot gnu.org
Target Milestone|--- |4.9.4
Summary|Wrong 64-bit memory address |[4.9/5/6 Regression] Wrong
|caused by an unneeded |64-bit memory address
|overflowing 32-bit integer |caused by an unneeded
|multiplication on x86_64 |overflowing 32-bit integer
|under -O2 and -O3 code |multiplication on x86_64
|optimization |under -O2 and -O3 code
| |optimization
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Seems this stopped working at -O2 somewhere in between r127688 and r127750.
More information about the Gcc-bugs
mailing list