From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29230 invoked by alias); 13 May 2006 08:27:14 -0000 Received: (qmail 29200 invoked by uid 48); 13 May 2006 08:27:04 -0000 Date: Sat, 13 May 2006 08:27:00 -0000 Message-ID: <20060513082704.29199.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug inline-asm/23200] [4.0/4.1/4.2 regression] rejects "i"(&var + 1) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "stsp at users dot sourceforge dot net" 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 X-SW-Source: 2006-05/txt/msg01258.txt.bz2 List-Id: ------- Comment #21 from stsp at users dot sourceforge dot net 2006-05-13 08:27 ------- Hi guys. A question: are there any hopes to get this to work with -fpic? I mean, even the "i"(&var) doesn't work with -fpic. The "info gcc" says that all the constant addresses are resolved by the dynamic linker if -fpic is used. So I wonder, why can't it resolve also the addresses that are used inside the asm() block? Am I missing something obvious, or it is a bug too? -- stsp at users dot sourceforge dot net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stsp at users dot | |sourceforge dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23200