This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

S/390: Fix warning regression


Hello,

this fixes a warning regression that I introduced
with my latest patch.

Bootstrapped/regtested on s390-ibm-linux and s390x-ibm-linux,
committed on 3.3 branch and head.

ChangeLog:

        * config/s390/s390.h (HARD_REGNO_MODE_OK): Fix warning regression
        introduced by last change.

Index: gcc/config/s390/s390.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/s390/s390.h,v
retrieving revision 1.59
diff -c -p -r1.59 s390.h
*** gcc/config/s390/s390.h	22 Jan 2003 16:56:45 -0000	1.59
--- gcc/config/s390/s390.h	22 Jan 2003 20:33:35 -0000
*************** do								\
*** 357,363 ****
     CC_REGNO_P(REGNO)?                                               \
       GET_MODE_CLASS (MODE) == MODE_CC :                             \
     FRAME_REGNO_P(REGNO)?                                            \
!      (MODE) == Pmode :                                              \
     0)
  
  #define MODES_TIEABLE_P(MODE1, MODE2)		\
--- 357,363 ----
     CC_REGNO_P(REGNO)?                                               \
       GET_MODE_CLASS (MODE) == MODE_CC :                             \
     FRAME_REGNO_P(REGNO)?                                            \
!      (enum machine_mode) (MODE) == Pmode :                          \
     0)
  
  #define MODES_TIEABLE_P(MODE1, MODE2)		\

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]