From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19749 invoked by alias); 12 Dec 2002 00:16:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 19714 invoked by uid 71); 12 Dec 2002 00:16:02 -0000 Date: Wed, 11 Dec 2002 16:16:00 -0000 Message-ID: <20021212001602.19713.qmail@sources.redhat.com> To: nickc@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Joel Sherrill Subject: Re: bootstrap/6172: [fr30-elf] does not build Reply-To: Joel Sherrill X-SW-Source: 2002-12/txt/msg00679.txt.bz2 List-Id: The following reply was made to PR bootstrap/6172; it has been noted by GNATS. From: Joel Sherrill To: Nick Clifton Cc: joel@gcc.gnu.org, 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: Wed, 11 Dec 2002 18:09:41 -0600 I think this got it further. Now it dies here: ./targ-include -I../../../../../gcc-3.2.1/newlib/libc/../libc/include -fno-builtin -g -Os -c ../../../../../gcc-3.2.1/newlib/libc/stdlib/strtod.c ../../../../../gcc-3.2.1/newlib/libc/stdlib/strtod.c: In function `_strtod_r': ../../../../../gcc-3.2.1/newlib/libc/stdlib/strtod.c:712: unrecognizable insn: (insn 3500 3499 1270 (set:SI (subreg:SI (reg/v:DI 62) 4) (sign_extend:SI (subreg:QI (subreg:SI (reg/v:DI 62) 4) 0))) -1 (nil) (nil)) ../../../../../gcc-3.2.1/newlib/libc/stdlib/strtod.c:712: Internal compiler error in extract_insn, at recog.c:2148 Do you want me to close this PR and open another or continue? Nick Clifton wrote: > > 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 > > * 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; \ -- Joel Sherrill, Ph.D. Director of Research & Development joel@OARcorp.com On-Line Applications Research Ask me about RTEMS: a free RTOS Huntsville AL 35805 Support Available (256) 722-9985