[Bug c++/40075] deprecated("xxx") doesn't work on function parameter

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40075 --- Comment #5 from Andrew Pinski --- The original testcase in comment #0 starts to have the message in GCC 9+.

[Bug c++/40075] deprecated("xxx") doesn't work on function parameter

2021-08-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40075 Andrew Pinski changed: What|Removed |Added CC||gcc at magfr dot user.lysator.liu.

[Bug c++/40075] deprecated("xxx") doesn't work on function parameter

2013-09-05 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40075 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/40075] deprecated("xxx") doesn't work on function parameter

2009-05-11 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2009-05-11 16:27 --- This patch: --- cp/decl.c.foo 2009-05-08 13:54:31.0 -0700 +++ cp/decl.c 2009-05-11 09:26:21.0 -0700 @@ -8065,6 +8065,9 @@ grokdeclarator (const cp_declarator *dec type = cp_build_qualified

[Bug c++/40075] deprecated("xxx") doesn't work on function parameter

2009-05-08 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2009-05-08 23:15 --- Another difference between C and C++: [...@gnu-6 tmp]$ cat bad.i typedef int INT2 __attribute__((deprecated)); int f5(INT2 x); int f6(INT2 x) __attribute__((deprecated)); [...@gnu-6 tmp]$ gcc -S bad.i bad.i:2: warni