Fix 70278 (LRA split_regs followup patch)

Bernd Schmidt bschmidt@redhat.com
Fri Mar 18 12:38:00 GMT 2016


This fixes an oversight in my previous patch here. I used biggest_mode 
in the assumption that if the reg was used in the function, it would be 
set to something other than VOIDmode, but that fails if we have a 
multiword access - only the first hard reg gets its biggest_mode 
assigned in that case.

Bootstrapped and tested on x86_64-linux, ran (just) the new arm testcase 
manually with arm-eabi. Ok?

(The testcase seems to be from glibc. Do we keep the copyright notices 
on the reduced form)?


Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 70278.diff
Type: text/x-patch
Size: 3936 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20160318/edd6be95/attachment.bin>


More information about the Gcc-patches mailing list