This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/23200] [4.3/4.4/4.5/4.6 Regression] rejects "i"(&var + 1)
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 3 Feb 2011 13:23:40 +0000
- Subject: [Bug inline-asm/23200] [4.3/4.4/4.5/4.6 Regression] rejects "i"(&var + 1)
- Auto-submitted: auto-generated
- References: <bug-23200-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23200
--- Comment #46 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-02-03 13:23:02 UTC ---
Created attachment 23236
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23236
gcc46-pr23200-2.patch
Or we could perhaps for EXPAND_INITIALIZER just try harder to look at SSA_NAME
definitions, as done in this patch. EXPAND_INITIALIZER expansion is used just
in a couple of places, usually the expression is already known to be constant,
and in stmt.c it is for asm inputs with constraints that allow neither a
register nor memory.