From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5038 invoked by alias); 6 May 2003 06:56:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 5018 invoked by uid 71); 6 May 2003 06:56:01 -0000 Date: Tue, 06 May 2003 06:56:00 -0000 Message-ID: <20030506065601.5017.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Dara Hazeghi Subject: Re: target/6191: [HP-PA] ICE doing pointer math with -fPIC Reply-To: Dara Hazeghi X-SW-Source: 2003-05/txt/msg00347.txt.bz2 List-Id: The following reply was made to PR target/6191; it has been noted by GNATS. From: Dara Hazeghi To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, lamont@debian.org Cc: Subject: Re: target/6191: [HP-PA] ICE doing pointer math with -fPIC Date: Mon, 5 May 2003 23:45:58 -0700 (PDT) http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6191 Hi all, this is to confirm that with a gcc 3.3 cvs darwin x hppa-linux cross compiler, the problem in this PR still occurs. Compiling the testcase with -fPIC yields: junk.i: In function `bad': junk.i:14: error: unrecognizable insn: (insn 24 23 25 2 0x0 (set (reg/f:SI 102) (plus:SI (reg:SI 19 %r19) (high:SI (symbol_ref/v:SI ("@tramp_r"))))) -1 (nil) (nil)) junk.i:14: internal compiler error: in extract_insn, at recog.c:2175 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Cheers, Dara junk.i: extern void tramp_r (); int bad (void* function) { if (!(((long)function & 3) == (2 & 3))) return 0; return ((((long *) ((char*)function - 2))[0] == ((long *) ((char*)&tramp_r-2))[0]) && ((((long *) ((char*)function - 2))[2]) == (long)((char*)function - 2 + 16 )) ? 1 : 0 ); } __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com