re PR target/26778 (GCC4 moves the result of a conditional block through inadequate...
authorPaolo Bonzini <bonzini@gnu.org>
Sat, 9 Sep 2006 12:43:32 +0000 (12:43 +0000)
committerPaolo Bonzini <bonzini@gcc.gnu.org>
Sat, 9 Sep 2006 12:43:32 +0000 (12:43 +0000)
commit8b649f3f12cb1903ac9a66028d6e7c3673a42e6f
treeffbee5ef420b0296e0de43fb40ba819309ee225d
parent827d0991fde61140c0a5e9770cff4524a7cda19c
re PR target/26778 (GCC4 moves the result of a conditional block through inadequate registers)

gcc:
2006-09-09  Paolo Bonzini  <bonzini@gnu.org>
    Dale Johannesen  <dalej@apple.com>

PR target/26778
* regclass.c (struct reg_pref): Update documentation.
(regclass): Set prefclass to NO_REGS if memory is the best option.
(record_reg_classes): Cope with a prefclass set to NO_REGS.

gcc/testsuite:
2006-09-09  Eric Christopher  <echristo@apple.com>

PR target/26778
* gcc.target/i386/pr26778.c: New testcase.

Co-Authored-By: Dale Johannesen <dalej@apple.com>
From-SVN: r116798
gcc/ChangeLog
gcc/regclass.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr26778.c [new file with mode: 0644]