From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23474 invoked by alias); 27 Apr 2009 15:08:06 -0000 Received: (qmail 23426 invoked by uid 22791); 27 Apr 2009 15:08:04 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f224.google.com (HELO mail-bw0-f224.google.com) (209.85.218.224) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Apr 2009 15:07:57 +0000 Received: by bwz24 with SMTP id 24so2278237bwz.8 for ; Mon, 27 Apr 2009 08:07:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.111.211 with SMTP id t19mr1969619fap.64.1240844874359; Mon, 27 Apr 2009 08:07:54 -0700 (PDT) In-Reply-To: References: <303e1d290904270711s4c3d9ec3k5c0307bd99b9c90@mail.gmail.com> Date: Mon, 27 Apr 2009 15:11:00 -0000 Message-ID: <303e1d290904270807g2dc51773y79d7f5b3e5a92d2a@mail.gmail.com> Subject: Re: [RFA] expand from SSA form (1/2) From: David Edelsohn To: Michael Matz Cc: gcc-patches Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 X-SW-Source: 2009-04/txt/msg02118.txt.bz2 On Mon, Apr 27, 2009 at 10:43 AM, Michael Matz wrote: > Hi, > > On Mon, 27 Apr 2009, David Edelsohn wrote: > >> A function in cgraphunit.c is being mis-compiled, probably >> build_cdtor(). =A0This causes cgraph_build_static_cdtor() to be called >> with an invalid priority of "-1", instead of 65535. =A0The priority shou= ld >> not be negative. =A0This negative priority value generates an invalid >> global file function name: >> ... >> Both Darwin and AIX are bootstrapping in 32 bit mode. =A0Richi suggested >> on IRC that this may be related to some known CONST_INT issue for >> which you already have a patch. > > This confusion with the numbers seems indeed related to PR39922. =A0If you > can test the below patch on powerpc that would be nice. =A0I know that it > fixes the PR on i686-linux where something similar happens. A quick test of the patch does not fix the failure on AIX. I will try a complete bootstrap in case the bug was causing other miscompilations. David