aboutsummaryrefslogtreecommitdiff
path: root/libiberty/simple-object-elf.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2018-01-11 09:54:26 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-01-11 09:54:26 +0000
commit69a350853900f6b6f9775deb95efff942020a55f (patch)
treefdf45f7f4b6748489423ba58b083abd8a70b75a9 /libiberty/simple-object-elf.c
parentfab588529a9605df33ca25a97f5b0e7c56f6c3be (diff)
downloadgcc-69a350853900f6b6f9775deb95efff942020a55f.zip
gcc-69a350853900f6b6f9775deb95efff942020a55f.tar.gz
gcc-69a350853900f6b6f9775deb95efff942020a55f.tar.bz2
Fix mode_for_size units in caller-save.c (PR83761)
The new opt_mode asserts triggered for replace_reg_with_saved_mem because it was passing bytes rather than bits to mode_for_size. Previously we ended up with a BLKmode register instead, but presumably that didn't matter because this is "only" used for debug insns. 2018-01-11 Richard Sandiford <richard.sandiford@linaro.org> gcc/ PR rtl-optimization/83761 * caller-save.c (replace_reg_with_saved_mem): Pass bits rather than bytes to mode_for_size. From-SVN: r256525
Diffstat (limited to 'libiberty/simple-object-elf.c')
0 files changed, 0 insertions, 0 deletions