aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-array-notation.c
diff options
context:
space:
mode:
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2015-06-03 15:10:44 +0000
committerPrathamesh Kulkarni <prathamesh3492@gcc.gnu.org>2015-06-03 15:10:44 +0000
commitbc51ace3600b5c9b5dcad09f16858e5727866e27 (patch)
tree3096135066177486fe57c67c799c10f0bcb121e2 /gcc/c/c-array-notation.c
parent80a4fe78bf071c07a71f640bd861193b85c27138 (diff)
downloadgcc-bc51ace3600b5c9b5dcad09f16858e5727866e27.zip
gcc-bc51ace3600b5c9b5dcad09f16858e5727866e27.tar.gz
gcc-bc51ace3600b5c9b5dcad09f16858e5727866e27.tar.bz2
c-decl.c (warn_cxx_compat_finish_struct): New parameters code, record_loc.
2015-06-03 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org> c/ * c-decl.c (warn_cxx_compat_finish_struct): New parameters code, record_loc. Warn for empty struct. (finish_struct): Pass TREE_CODE(t) and loc to warn_cxx_compat_finish_struct. testsuite/ * gcc.dg/Wcxx-compat-22.c: New testcase. * c-c++-common/Wsizeof-pointer-memaccess1.c: Pass -Wno-c++-compat. * c-c++-common/Wsizeof-pointer-memaccess2.c: Likewise. * c-c++-common/pr58346-1.c: Likewise. * c-c++-common/transparent-union-1.c: Likewise. From-SVN: r224083
Diffstat (limited to 'gcc/c/c-array-notation.c')
0 files changed, 0 insertions, 0 deletions