]> gcc.gnu.org Git - gcc.git/commit
reload.c (find_valid_class_1): New static function.
authorBernd Schmidt <bernds@codesourcery.com>
Thu, 9 Aug 2012 13:18:05 +0000 (13:18 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Thu, 9 Aug 2012 13:18:05 +0000 (13:18 +0000)
commit82ad0aaf6e6d671b8dab3fd9ae3b496f1c70aea7
treedc0e08837a77bf368d263bcde301c676189919de
parent62d6a5bbc851e99b69cf6899e02ac46e66a3b50c
reload.c (find_valid_class_1): New static function.

* 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.

From-SVN: r190252
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]
This page took 0.093337 seconds and 5 git commands to generate.