diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-07 08:47:24 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-07 08:49:33 -0800 |
commit | ffb268ffcf9f21e2981a71887324eb0aec245eea (patch) | |
tree | 86e1b2e47bd1b755259525bbfe19e3be2b1ef20d /gcc/ada/gcc-interface/utils.c | |
parent | 9d0eb0ae948f0fbee208cfb9a86133abea650f81 (diff) | |
download | gcc-ffb268ffcf9f21e2981a71887324eb0aec245eea.zip gcc-ffb268ffcf9f21e2981a71887324eb0aec245eea.tar.gz gcc-ffb268ffcf9f21e2981a71887324eb0aec245eea.tar.bz2 |
c++: Adjust array type construction
This restores the dependent array changes I reverted, now that pr98116
appears fixed. As mentioned before, when deserializing a module we
need to construct arrays without using the dependent-type predicates
themselves.
gcc/cp/
* cp-tree.h (build_cplus_array_type): Add defaulted DEP parm.
* tree.c (set_array_type_common): Add DEP parm.
(build_cplus_array_type): Add DEP parm, determine dependency if
needed. Mark dependency of new types.
(cp_build_qualified_type_real): Adjust array-building call, assert
no surprising dependency.
(strip_typedefs): Likewise.
Diffstat (limited to 'gcc/ada/gcc-interface/utils.c')
0 files changed, 0 insertions, 0 deletions