diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2018-12-06 23:20:16 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2018-12-06 23:20:16 +0000 |
commit | 3c1eaf67e9a4a1a63ff26b24c4b1f9f1a7c58bc4 (patch) | |
tree | 3bd4768e1ce9c05ec207274fe1aa85aee839810a /gcc/fortran/trans-openmp.c | |
parent | d7711adcd5226995063342631e1ce5c2ff055981 (diff) | |
download | gcc-3c1eaf67e9a4a1a63ff26b24c4b1f9f1a7c58bc4.zip gcc-3c1eaf67e9a4a1a63ff26b24c4b1f9f1a7c58bc4.tar.gz gcc-3c1eaf67e9a4a1a63ff26b24c4b1f9f1a7c58bc4.tar.bz2 |
class.c (check_bitfield_decl): In error message about non-integral type print the type itself too.
/cp
2018-12-06 Paolo Carlini <paolo.carlini@oracle.com>
* class.c (check_bitfield_decl): In error message about non-integral
type print the type itself too.
* decl.c (grokdeclarator): Do not ICE on unnamed bit-fields declared
friends; when calling build_decl for a FIELD_DECL possibly pass the
declarator->id_loc.
/testsuite
2018-12-06 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/parse/bitfield7.C: New.
* g++.dg/other/bitfield2.C: Check location and type.
* g++.dg/parse/bitfield1.C: Likewise.
* g++.dg/parse/bitfield2.C: Likewise.
From-SVN: r266876
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions