diff options
author | Ian Lance Taylor <iant@google.com> | 2009-06-19 15:25:16 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2009-06-19 15:25:16 +0000 |
commit | 88eeff6f5a1347dc09de33c26a68648c4dea7f80 (patch) | |
tree | fc52468ac72e4ed7eef097489864a842fdb17db4 /gcc/ChangeLog | |
parent | 28a876a42966c74582188b6c124c790f0b724535 (diff) | |
download | gcc-88eeff6f5a1347dc09de33c26a68648c4dea7f80.zip gcc-88eeff6f5a1347dc09de33c26a68648c4dea7f80.tar.gz gcc-88eeff6f5a1347dc09de33c26a68648c4dea7f80.tar.bz2 |
c-decl.c (grokdeclarator): If -Wc++-compat, warn about a global variable with an anonymous type.
./: * c-decl.c (grokdeclarator): If -Wc++-compat, warn about a global
variable with an anonymous type.
fortran/:
* cpp.c (struct gfc_cpp_option_data): Give this struct, used for
the global variable gfc_cpp_option, a name.
testsuite/:
* gcc.dg/Wcxx-compat-16.c: New testcase.
From-SVN: r148708
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c327984..37a3629 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-06-19 Ian Lance Taylor <iant@google.com> + + * c-decl.c (grokdeclarator): If -Wc++-compat, warn about a global + variable with an anonymous type. + 2009-06-19 Uros Bizjak <ubizjak@gmail.com> * see.c: Remove for real. |