From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 887 invoked by alias); 12 Jun 2010 21:26:23 -0000 Received: (qmail 839 invoked by uid 48); 12 Jun 2010 21:26:10 -0000 Date: Sat, 12 Jun 2010 21:26:00 -0000 Message-ID: <20100612212610.838.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/44458] [4.6 Regression] Bootstrap fails on arm_float_words_big_endian implicit declaration when Ada on arm-linux In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "mikpe at it dot uu dot se" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg01426.txt.bz2 ------- Comment #4 from mikpe at it dot uu dot se 2010-06-12 21:26 ------- (In reply to comment #3) > Fixing by reverting Steven patch is not enough to regain bootstrap on arm, here > is the error during stage2: This is a new unrelated error caused by r160458. You should IMO have opened a new PR for it. Anyway, the patch below should fix it. Tested in a cross so far, I'll do a native bootstrap of 4.6 head + this tomorrow. The declaration bug for 'vec' is obvious. The fact that 'op1' is extracted but unused makes me a bit nervous. --- gcc-4.6-r160458/gcc/config/arm/arm.c.~1~ +++ gcc-4.6-r160458/gcc/config/arm/arm.c @@ -11457,13 +11457,12 @@ thumb2_reorg (void) rtx dst = XEXP (pat, 0); rtx src = XEXP (pat, 1); rtx op0 = XEXP (src, 0); - rtx op1 = XEXP (src, 1); if (rtx_equal_p (dst, op0) || GET_CODE (src) == PLUS || GET_CODE (src) == MINUS) { rtx ccreg = gen_rtx_REG (CCmode, CC_REGNUM); rtx clobber = gen_rtx_CLOBBER (VOIDmode, ccreg); - rtx vec = gen_rtvec (2, pat, clobber); + rtvec vec = gen_rtvec (2, pat, clobber); PATTERN (insn) = gen_rtx_PARALLEL (VOIDmode, vec); INSN_CODE (insn) = -1; } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44458