From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4902 invoked by alias); 2 Jan 2005 16:58:35 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4893 invoked by uid 48); 2 Jan 2005 16:58:33 -0000 Date: Sun, 02 Jan 2005 16:58:00 -0000 From: "ghazi at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050102165832.19226.ghazi@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug inline-asm/19226] New: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with -fpic/-fPIC X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg00129.txt.bz2 List-Id: When running the GCC testsuite on i686-pc-linux-gnu using -fpic or -fPIC, I get additional failures with 3.3, 3.4 and mainline: FAIL: g++.old-deja/g++.pt/asm1.C (test for excess errors) FAIL: g++.old-deja/g++.pt/asm2.C (test for excess errors) as shown here: http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00029.html http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00085.html http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00084.html Both of these tests fail like this: g++.old-deja/g++.pt/asm1.C:6: error: can't find a register in class `BREG' while reloading `asm' Is there something to fix in the compiler, the testcase, or should the test be bypassed when using -fpic/-fPIC ? -- Summary: ICE in g++.old-deja/g++.pt/asm1.C and asm2.C with - fpic/-fPIC Product: gcc Version: 3.3.6 Status: UNCONFIRMED Severity: normal Priority: P2 Component: inline-asm AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19226