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+.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40075
Andrew Pinski changed:
What|Removed |Added
CC||gcc at magfr dot
user.lysator.liu.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40075
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
--- 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
--- 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