------- Comment #7 from hpa at zytor dot com  2007-01-23 00:24 -------
Subject: Re:  -Wno-deprecated needed also for C

manu at gcc dot gnu dot org wrote:
> ------- Comment #6 from manu at gcc dot gnu dot org  2007-01-23 00:20 -------
> Hey, don't look at me. I am not sure what that means, I was just looking for
> something deprecated in C front-end to make a testcase.

It looks like it's deprecating the following code:

void foo(int bar)
{
        asm volatile("" : : "m" (bar+1));
}

This type of constructions are actually quite common (although with a 
real instruction, and usually something like "rm" or "abdSm" in the 
constraints box.)

        -hpa


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11051

Reply via email to