aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-errors.c
diff options
context:
space:
mode:
authorMarek Polacek <polacek@redhat.com>2016-05-11 17:07:37 +0000
committerMarek Polacek <mpolacek@gcc.gnu.org>2016-05-11 17:07:37 +0000
commit5c3a10fbc1d4e91287b635d6ff068c8f80dff8cd (patch)
treee5ba1d4738473b86a982524a9ab092d6e15fa106 /gcc/c/c-errors.c
parent7cfb065b0e75bf8dab8337d1c3ce33f79110226f (diff)
downloadgcc-5c3a10fbc1d4e91287b635d6ff068c8f80dff8cd.zip
gcc-5c3a10fbc1d4e91287b635d6ff068c8f80dff8cd.tar.gz
gcc-5c3a10fbc1d4e91287b635d6ff068c8f80dff8cd.tar.bz2
re PR c++/71024 (Missing warning for contradictory attributes)
PR c++/71024 * c-common.c (diagnose_mismatched_attributes): New function. * c-common.h (diagnose_mismatched_attributes): Declare. * c-decl.c (diagnose_mismatched_decls): Factor out code to diagnose_mismatched_attributes and call it. * decl.c (duplicate_decls): Call diagnose_mismatched_decls. * c-c++-common/attributes-3.c: New test. From-SVN: r236129
Diffstat (limited to 'gcc/c/c-errors.c')
0 files changed, 0 insertions, 0 deletions