[Bug rtl-optimization/14782] [3.3/3.4/3.5 Regression] produces an unaligned data access at -O2
------- Additional Comments From danglin at gcc dot gnu dot org 2004-06-20 00:08 -------
With Carlos's testcase at -O2, the initial insns in the function bug are:
ldi 0,%r20
ldo 1(%r26),%r26
ldo 1(%r20),%r20
ldd 23(%r26),%r21
This appears to be a bug in the PA GO_IF_LEGITIMATE_ADDRESS macro. It should
reject 14-bit offsets for DImode loads that aren't properly aligned as ldd
doesn't support them. ldd differs from ldb/ldh/ldw in this respect. It
needs both the base and displacement aligned.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14782
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: