diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2018-12-07 17:48:39 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2018-12-07 17:48:39 +0000 |
commit | fee11e77e59bb08b695ca4fb356322a8214a03c2 (patch) | |
tree | f24d1372131fa2548e34bf3e90ac769722bf308a /gcc/tree-nested.c | |
parent | 96e14fda0dca4d79479137844b4457305fad2c3f (diff) | |
download | gcc-fee11e77e59bb08b695ca4fb356322a8214a03c2.zip gcc-fee11e77e59bb08b695ca4fb356322a8214a03c2.tar.gz gcc-fee11e77e59bb08b695ca4fb356322a8214a03c2.tar.bz2 |
decl2.c (grokbitfield): Use DECL_SOURCE_LOCATION in error messages about bit-fields with function type...
/cp
2018-12-07 Paolo Carlini <paolo.carlini@oracle.com>
* decl2.c (grokbitfield): Use DECL_SOURCE_LOCATION in error messages
about bit-fields with function type, warn_if_not_aligned type, and
static bit-fields; avoid DECL_NAME for unnamed declarations.
/testsuite
2018-12-07 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/other/bitfield7.C: New.
* g++.dg/parse/bitfield8.C: Likewise.
* g++.dg/parse/bitfield9.C: Likewise.
* g++.dg/pr53037-4.C: Test the locations too.
From-SVN: r266900
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions