This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11051] -Wno-deprecated needed also for C
- From: "hpa at zytor dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2007 00:24:58 -0000
- Subject: [Bug c/11051] -Wno-deprecated needed also for C
- References: <bug-11051-102@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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