This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug inline-asm/23200] [4.0/4.1/4.2 regression] rejects "i"(&var + 1)
- From: "amacleod at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2006 22:33:07 -0000
- Subject: [Bug inline-asm/23200] [4.0/4.1/4.2 regression] rejects "i"(&var + 1)
- References: <bug-23200-11104@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #24 from amacleod at redhat dot com 2006-10-04 22:33 -------
The updated version of TER that will go into 4.3 during stage 1 resolves this
problem... TER no longer tracks dependencies the way it use to. It will replace
the expression, resulting in:
main ()
{
<bb 2>:
__asm__ __volatile__(""::"i" &var + 1B);
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23200