From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28760 invoked by alias); 4 Jun 2009 15:52:35 -0000 Received: (qmail 28731 invoked by uid 48); 4 Jun 2009 15:52:22 -0000 Date: Thu, 04 Jun 2009 15:52:00 -0000 Message-ID: <20090604155222.28730.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/40338] bootstrap comparision fails on 32 bit PA when comparing libgcc objects In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "sje at cup dot hp dot com" 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-06/txt/msg00238.txt.bz2 ------- Comment #1 from sje at cup dot hp dot com 2009-06-04 15:52 ------- Compiling the following program with -O2 -fPIC -g -fexceptions will reproduce the problem. I get a global variable created with a different name using gcc/cc1 and prev-gcc/cc1. void splat (void) { return; } static void (*bar) (void) = *splat; void foo (void) { bar (); } -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40338