This is the mail archive of the gcc-prs@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]

Re: bootstrap/6172: [fr30-elf] does not build


The following reply was made to PR bootstrap/6172; it has been noted by GNATS.

From: Nick Clifton <nickc@redhat.com>
To: joel@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, hp@bitrange.com,
   gcc-gnats@gcc.gnu.org
Subject: Re: bootstrap/6172: [fr30-elf] does not build
Date: 05 Dec 2002 19:34:30 +0000

 Hi Joel,
 
 > Synopsis: [fr30-elf] does not build
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: joel
 > State-Changed-When: Thu Dec  5 07:23:15 2002
 > State-Changed-Why:
 >     still applies to 3.2.1
 
 
 The patch below fixes this problem.
 
 Cheers
         Nick
 
 2002-12-05  Nick Clifton  <nickc@redhat.com>
 
 	* config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Check for frame
 	pointer and arg pointer by examining the register number.
 
 Index: gcc/config/fr30/fr30.h
 ===================================================================
 RCS file: /cvs/gcc/gcc/gcc/config/fr30/fr30.h,v
 retrieving revision 1.28
 diff -c -3 -p -w -r1.28 fr30.h
 *** gcc/config/fr30/fr30.h	20 Feb 2002 18:31:17 -0000	1.28
 --- gcc/config/fr30/fr30.h	5 Dec 2002 18:15:50 -0000
 *************** do										\
 *** 1085,1092 ****
   	goto LABEL;							\
         if (GET_CODE (X) == PLUS						\
   	  && ((MODE) == SImode || (MODE) == SFmode)			\
 ! 	  && (XEXP (X, 0) == frame_pointer_rtx				\
 ! 	      || XEXP(X,0) == arg_pointer_rtx)				\
   	  && GET_CODE (XEXP (X, 1)) == CONST_INT			\
   	  && IN_RANGE (INTVAL (XEXP (X, 1)), -(1 << 9), (1 <<  9) - 4))	\
           goto LABEL;							\
 --- 1085,1093 ----
   	goto LABEL;							\
         if (GET_CODE (X) == PLUS						\
   	  && ((MODE) == SImode || (MODE) == SFmode)			\
 ! 	  && GET_CODE (XEXP (X, 0)) == REG 				\
 !           && (REGNO (XEXP (X, 0)) == FRAME_POINTER_REGNUM 		\
 !            || REGNO (XEXP (X, 0)) == ARG_POINTER_REGNUM) 		\
   	  && GET_CODE (XEXP (X, 1)) == CONST_INT			\
   	  && IN_RANGE (INTVAL (XEXP (X, 1)), -(1 << 9), (1 <<  9) - 4))	\
           goto LABEL;							\
 
 


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