aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@gcc.gnu.org>2019-04-17 20:49:50 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2019-04-17 20:49:50 +0200
commit46786144dd77505a5e06c8ac9fd353e84eb38d89 (patch)
treea9135598ac7b19904ab741739d69e18de52a9832 /gcc/c
parentf64e89775fc23fc57b1631f0c0e80a96150e3cd8 (diff)
downloadgcc-46786144dd77505a5e06c8ac9fd353e84eb38d89.zip
gcc-46786144dd77505a5e06c8ac9fd353e84eb38d89.tar.gz
gcc-46786144dd77505a5e06c8ac9fd353e84eb38d89.tar.bz2
auto-inc-dec: Set alignment properly
When auto-inc-dec creates a new mem to compute the cost of doing some transform, it forgets to copy over the alignment of the original mem. This gives wrong costs, for example, for rs6000 a floating point load or store is hugely expensive if unaligned. This patch fixes it. * auto-inc-dec.c (attempt_change): Set the alignment of the temporary memory to that of the original. From-SVN: r270419
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions