]> git.ipfire.org Git - thirdparty/gcc.git/commit
* reload.c (find_valid_class_1): New static function.
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Aug 2012 13:18:05 +0000 (13:18 +0000)
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Aug 2012 13:18:05 +0000 (13:18 +0000)
commit3efd0ea8801334260442a4a0fe60c392bf955cd8
treedc0e08837a77bf368d263bcde301c676189919de
parent732ba49c5176021a2b0b1f38c90c0541793a926d
* reload.c (find_valid_class_1): New static function.
(push_reload): Use it when reloading a SYMBOL_REG as the inner
of a subreg.  Keep better track of needed classes for the
secondary memory case.
* config/i386/i386.h (LIMIT_RELOAD_CLASS): Limit INT_SSE_REGS to
GENERAL_REGS.
* reload1.c (replaced_subreg): New static function.
(gen_reload): Use it when deciding whether to use secondary
memory.

* gcc.c-torture/compile/20120727-1.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190252 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/i386/i386.h
gcc/reload.c
gcc/reload1.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20120727-1.c [new file with mode: 0644]