aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/ia64/ia64.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>2000-07-06 01:31:15 +0000
committerJim Wilson <wilson@gcc.gnu.org>2000-07-05 18:31:15 -0700
commit768ff52f7e510a5bbbf58847608d0953359c2d95 (patch)
treee830a8564ba61acaa43597714a5b527406515d37 /gcc/config/ia64/ia64.h
parentb192711e7c9aceec37d951b32a79d2df8c424f6c (diff)
downloadgcc-768ff52f7e510a5bbbf58847608d0953359c2d95.zip
gcc-768ff52f7e510a5bbbf58847608d0953359c2d95.tar.gz
gcc-768ff52f7e510a5bbbf58847608d0953359c2d95.tar.bz2
Fix glibc 2.2 build failure from fr reunification patch.
* config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow CCmode. From-SVN: r34881
Diffstat (limited to 'gcc/config/ia64/ia64.h')
-rw-r--r--gcc/config/ia64/ia64.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index b2c80cd..9db1675 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -812,7 +812,9 @@ while (0)
that one). */
/* ??? movxf_internal does not support XFmode values in integer registers. */
#define HARD_REGNO_MODE_OK(REGNO, MODE) \
- (PR_REGNO_P (REGNO) ? (MODE) == CCmode : 1)
+ (FR_REGNO_P (REGNO) ? (MODE) != CCmode \
+ : PR_REGNO_P (REGNO) ? (MODE) == CCmode \
+ : 1)
/* A C expression that is nonzero if it is desirable to choose register
allocation so as to avoid move instructions between a value of mode MODE1