This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

patch to fix PR60675


The following patch fixes

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60675

LRA assigned hard reg 30 to TImode subreg of DImode pseudo but it was wrong as hard reg 31 is unavailable for the allocation.

The patch was bootstrapped and tested on x86-64 and aarch64.

Committed as rev. 208900.

2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>

        PR target/60675
	* lra-assigns.c (find_hard_regno_for): Remove unavailable hard
	regs from checking multi-reg pseudos.

2014-03-28  Vladimir Makarov  <vmakarov@redhat.com>

        PR target/60675
        * gcc.target/aarch64/pr60675.C: New.

Attachment: pr60675.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]