aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2003-12-30 14:18:15 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2003-12-30 13:18:15 +0000
commitb0af5c039d9bdcbde6927786d657e1fbf2d52c6d (patch)
treea170cc8754962bcf360185fa3a2c3ad30c364343
parent74869a8523751c03db3264bcef72ade1c10bfa6a (diff)
downloadgcc-b0af5c039d9bdcbde6927786d657e1fbf2d52c6d.zip
gcc-b0af5c039d9bdcbde6927786d657e1fbf2d52c6d.tar.gz
gcc-b0af5c039d9bdcbde6927786d657e1fbf2d52c6d.tar.bz2
re PR target/11936 (cannot find a register while reloading `asm')
PR ice/11936 * i386.h (CLASS_LIKELY_SPILLED_P): Return true for FP_TOP_REG/FP_SECOND_REG From-SVN: r75231
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4b5b073..2738336 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-30 Jan Hubicka <jh@suse.cz>
+
+ PR ice/11936
+ * i386.h (CLASS_LIKELY_SPILLED_P): Return true for FP_TOP_REG/FP_SECOND_REG
+
2003-12-30 Steven Bosscher <steven@gcc.gnu.org>
Backport from tree-ssa (relevant changes only):
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
index 3566662..08424a4 100644
--- a/gcc/config/i386/i386.h
+++ b/gcc/config/i386/i386.h
@@ -1581,7 +1581,9 @@ enum reg_class
|| ((CLASS) == BREG) \
|| ((CLASS) == AD_REGS) \
|| ((CLASS) == SIREG) \
- || ((CLASS) == DIREG))
+ || ((CLASS) == DIREG) \
+ || ((CLASS) == FP_TOP_REG) \
+ || ((CLASS) == FP_SECOND_REG))
/* Return a class of registers that cannot change FROM mode to TO mode.