Blame SOURCES/gcc48-rh1535655-1.patch

4dd737
commit 30562e52396c7fbe2a404acda2b1b77f871005ea
4dd737
Author: root <root@lenovo-x3950-01.khw.lab.eng.bos.redhat.com>
4dd737
Date:   Thu Jan 18 00:12:41 2018 -0500
4dd737
4dd737
    Add FIRST_INT_REG, LAST_INT_REG, LEGACY_INT_REG_P , and LEGACY_INT_REGNO_P
4dd737
4dd737
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h
4dd737
index e31c8d0..87fd381 100644
4dd737
--- a/gcc/config/i386/i386.h
4dd737
+++ b/gcc/config/i386/i386.h
4dd737
@@ -1115,6 +1115,9 @@ extern const char *host_detect_local_cpu (int argc, const char **argv);
4dd737
 /* Base register for access to local variables of the function.  */
4dd737
 #define FRAME_POINTER_REGNUM 20
4dd737
 
4dd737
+#define FIRST_INT_REG AX_REG
4dd737
+#define LAST_INT_REG  SP_REG
4dd737
+
4dd737
 /* First floating point reg */
4dd737
 #define FIRST_FLOAT_REG 8
4dd737
 
4dd737
@@ -1317,6 +1320,9 @@ enum reg_class
4dd737
 #define QI_REG_P(X) (REG_P (X) && QI_REGNO_P (REGNO (X)))
4dd737
 #define QI_REGNO_P(N) IN_RANGE ((N), AX_REG, BX_REG)
4dd737
 
4dd737
+#define LEGACY_INT_REG_P(X) (REG_P (X) && LEGACY_INT_REGNO_P (REGNO (X)))
4dd737
+#define LEGACY_INT_REGNO_P(N) (IN_RANGE ((N), FIRST_INT_REG, LAST_INT_REG))
4dd737
+
4dd737
 #define GENERAL_REG_P(X) \
4dd737
   (REG_P (X) && GENERAL_REGNO_P (REGNO (X)))
4dd737
 #define GENERAL_REGNO_P(N) \