diff options
author | Jakub Jelinek <jakub@redhat.com> | 2010-11-06 01:07:50 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-11-06 01:07:50 +0100 |
commit | a75de6923043978eb7d96d79a28ba7becea353e9 (patch) | |
tree | a6ebd61fe15b0d819dbd87fef8138e1bb10989e0 /gcc/c-objc-common.h | |
parent | c3928dde21846d4572238317390613c8bcb042b6 (diff) | |
download | gcc-a75de6923043978eb7d96d79a28ba7becea353e9.zip gcc-a75de6923043978eb7d96d79a28ba7becea353e9.tar.gz gcc-a75de6923043978eb7d96d79a28ba7becea353e9.tar.bz2 |
re PR c/44772 (-Wc++-compat warns incorrectly for anonymous unions)
PR c/44772
* c-decl.c (warn_cxx_compat_finish_struct): Don't call
pointer_set_contains if DECL_NAME is NULL.
* gcc.dg/Wcxx-compat-21.c: New test.
From-SVN: r166384
Diffstat (limited to 'gcc/c-objc-common.h')
0 files changed, 0 insertions, 0 deletions