This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: "+m" constraints bogus?
On 7/24/07, Jan Hubicka <jh@suse.cz> wrote:
I will try to find the original Jason's problem, does anyone recall?
well the gimplifier no longer allows "+m" to pass to expand, we always
expoand the constraints.
Take:
int f(int a)
{
asm("":"+m"(a) );
return a;
}
The gimplifier produces:
apinski@debian:~$ cat t1212.c.004t.gimple
f (a)
{
int D.1627;
__asm__("":"=m" a:"m" a);
D.1627 = a;
return D.1627;
}
Thanks,
Andrew Pinski