From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25970 invoked by alias); 27 Apr 2009 19:44:34 -0000 Received: (qmail 25871 invoked by uid 48); 27 Apr 2009 19:44:08 -0000 Date: Mon, 27 Apr 2009 19:44:00 -0000 Message-ID: <20090427194408.25870.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/39929] [4.5 Regression] Bootstrapping fails at stage 1 on powerpc-apple-darwin9 and powerpc-ibm-aix In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia at gcc dot gnu dot org" 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: 2009-04/txt/msg02634.txt.bz2 ------- Comment #7 from pinskia at gcc dot gnu dot org 2009-04-27 19:44 ------- This is the correct fix as in darwin.c we have: /* Play games to avoid marking the function as needing pic if we are being called as part of the cost-estimation process. */ if (current_ir_type () != IR_GIMPLE) crtl->uses_pic_offset_table = 1; -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39929