From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 489 invoked by alias); 20 May 2014 00:25:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 478 invoked by uid 89); 20 May 2014 00:25:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f48.google.com Received: from mail-oa0-f48.google.com (HELO mail-oa0-f48.google.com) (209.85.219.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 20 May 2014 00:25:57 +0000 Received: by mail-oa0-f48.google.com with SMTP id i4so7089426oah.35 for ; Mon, 19 May 2014 17:25:55 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.241.67 with SMTP id wg3mr40150681obc.16.1400545555078; Mon, 19 May 2014 17:25:55 -0700 (PDT) Received: by 10.76.151.198 with HTTP; Mon, 19 May 2014 17:25:54 -0700 (PDT) In-Reply-To: <20140519213711.GA7349@arm.com> References: <53764FB9.6000000@redhat.com> <20140519213711.GA7349@arm.com> Date: Tue, 20 May 2014 00:25:00 -0000 Message-ID: Subject: Re: patch to fix PR60969 From: "H.J. Lu" To: James Greenhalgh Cc: Vladimir Makarov , GCC Patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg01557.txt.bz2 On Mon, May 19, 2014 at 2:37 PM, James Greenhalgh wrote: > On Fri, May 16, 2014 at 06:49:45PM +0100, Vladimir Makarov wrote: >> The following patch fixes >> >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60969 >> >> The patch was bootstrapped and tested on x86/x86-64. >> >> Committed as rev. 210519 to gcc 4.9 branch and as rev. 210520 to trunk. >> >> 2014-05-16 Vladimir Makarov >> >> PR rtl-optimization/60969 >> * ira-costs.c (record_reg_classes): Allow only memory for pseudo. >> Calculate costs for this case. >> >> 2014-05-16 Vladimir Makarov >> >> PR rtl-optimization/60969 >> * g++.dg/pr60969.C: New. > > This seems to have cause gcc.target/aarch64/vect-abs-compile.c to begin > failing on aarch64-none-elf: > > FAIL: gcc.target/aarch64/table-intrinsics.c (internal compiler error) > FAIL: gcc.target/aarch64/table-intrinsics.c (test for excess errors) > Excess errors: > /work/gcc-clean/src/gcc/gcc/testsuite/gcc.target/aarch64/table-intrinsics.c:172:1: internal compiler error: Max. number of generated reload insns per insn is achieved (90) > 0x8923cd lra_constraints(bool) > /work/gcc-clean/src/gcc/gcc/lra-constraints.c:4140 > 0x882f62 lra(_IO_FILE*) > /work/gcc-clean/src/gcc/gcc/lra.c:2353 > 0x8453f6 do_reload > /work/gcc-clean/src/gcc/gcc/ira.c:5457 > 0x8453f6 execute > /work/gcc-clean/src/gcc/gcc/ira.c:5618 > I think x86 backend should disable 3DNOW mode if 3DNOW isn't enabled. Allowing SFmode with MMX doesn't buy us anything, but trouble. -- H.J.