diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2018-11-29 21:34:38 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2018-11-29 21:34:38 +0000 |
commit | eedb990a499c893797d85d99b892cd8452d4ada4 (patch) | |
tree | 38b40efd84929d97a6bcee58611e6bae8bc948df /gcc/c/gimple-parser.c | |
parent | 3ded6ffdfd75978712ed4d9b246fc47779b2d9d1 (diff) | |
download | gcc-eedb990a499c893797d85d99b892cd8452d4ada4.zip gcc-eedb990a499c893797d85d99b892cd8452d4ada4.tar.gz gcc-eedb990a499c893797d85d99b892cd8452d4ada4.tar.bz2 |
decl.c (compute_array_index_type_loc): New, like the current compute_array_index_type but takes a location_t too.
/cp
2018-11-29 Paolo Carlini <paolo.carlini@oracle.com>
* decl.c (compute_array_index_type_loc): New, like the current
compute_array_index_type but takes a location_t too.
(compute_array_index_type): Forward to the latter.
(create_array_type_for_decl): Use compute_array_index_type_loc.
/testsuite
2018-11-29 Paolo Carlini <paolo.carlini@oracle.com>
* g++.dg/cpp0x/constexpr-base6b.C: New.
* g++.dg/cpp0x/constexpr-47969.C: Test locations too.
* g++.dg/cpp0x/constexpr-48324.C: Likewise.
* g++.dg/cpp0x/constexpr-ex2.C: Likewise.
* g++.dg/cpp0x/scoped_enum2.C: Likewise.
* g++.dg/cpp1y/pr63996.C: Likewise.
* g++.dg/ext/constexpr-vla5.C: Likewise.
* g++.dg/ext/stmtexpr15.C: Likewise.
* g++.dg/ext/vla1.C: Likewise.
* g++.dg/other/fold1.C: Likewise.
* g++.dg/parse/array-size2.C: Likewise.
* g++.dg/parse/crash36.C: Likewise.
* g++.dg/ubsan/pr81530.C: Likewise.
* g++.dg/warn/Wvla-1.C: Likewise.
* g++.dg/warn/Wvla-2.C: Likewise.
* g++.old-deja/g++.brendan/array1.C: Likewise.
* g++.old-deja/g++.bugs/900402_02.C: Likewise.
* g++.old-deja/g++.law/init3.C: Likewise.
* g++.old-deja/g++.mike/p6149.C: Likewise.
From-SVN: r266645
Diffstat (limited to 'gcc/c/gimple-parser.c')
0 files changed, 0 insertions, 0 deletions