[Bug optimization/14815] New: -frename-registers produces incorrect code on ia64
jbutler at broad dot mit dot edu
gcc-bugzilla@gcc.gnu.org
Thu Apr 1 23:16:00 GMT 2004
The attached code (IsWeirdness.{cc,i}) produces the correct result when compiled
with -O2 -finline-functions on ia64 and with -O3 on alpha, but produces the
incorrect result with -O3 on ia64, which leads me to the conclusion that
something's gone all funny with -frename-registers on ia64.
The code is a bit nonsensical, as I've reduced it as much as possible while
preserving the incorrect behavior, but it should print the number "-764". With
-O3 on ia64, it prints "-528".
--
Summary: -frename-registers produces incorrect code on ia64
Product: gcc
Version: 3.3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jbutler at broad dot mit dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64-unknown-linux
GCC host triplet: ia64-unknown-linux
GCC target triplet: ia64-unknown-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14815
More information about the Gcc-bugs
mailing list