This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/11051] -Wno-deprecated needed also for C



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]