PR rtl-optimization/21041
commitc2c4c18bdbd555961cf868c617311acb51cfac75
authoruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Dec 2005 16:06:55 +0000 (18 16:06 +0000)
committeruweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 18 Dec 2005 16:06:55 +0000 (18 16:06 +0000)
tree3d046856da977e0859c1d1ed467582650d5b31e1
parent4c05d6d57b2470d2d3a9d0f41f2edad8b57fbd08
PR rtl-optimization/21041
* reload.c (find_reloads_subreg_address): Replace paradoxical
subreg of MEM by widened access only if the resulting memory
is properly aligned, even on !STRICT_ALIGNMENT targets.

PR rtl-optimization/21041
* gcc.dg/pr21041.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108760 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/reload.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr21041.c [new file with mode: 0644]