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 #5 from hpa at zytor dot com  2007-01-23 00:15 -------
Subject: Re:  -Wno-deprecated needed also for C

manu at gcc dot gnu dot org wrote:
> ------- Comment #4 from manu at gcc dot gnu dot org  2007-01-23 00:01 -------
> The testcase given is not valid any more. Could you think in any other
> testcase?
> 
> In stmt.c (expand_asm_operands) there is:
> 
>             warning (0, "use of memory input without lvalue in "
>                        "asm operand %d is deprecated", i + noutputs);
> 
> 

Hang on, hang on...

WTF?!  Using an rvalue in an assembly input that may contain "m" is 
something that is highly useful, and it will break metric tons of code. 
  -Wno-deprecated or no -Wno-deprecated, deprecating this particular 
construct is a major mistake.

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