aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop.cc
diff options
context:
space:
mode:
authorGary Dismukes <dismukes@adacore.com>2024-04-12 17:40:34 +0000
committerMarc Poulhiès <poulhies@adacore.com>2024-06-10 11:04:01 +0200
commit3fb45d7fe1eebddf7dcba3e140b94b98a587dd87 (patch)
tree7a4f99d145e5080362b7a43fb2acdcc0affda13d /gcc/tree-vect-loop.cc
parent5ae21dd349bfd3a48a63c448cab83c5da251898f (diff)
downloadgcc-3fb45d7fe1eebddf7dcba3e140b94b98a587dd87.zip
gcc-3fb45d7fe1eebddf7dcba3e140b94b98a587dd87.tar.gz
gcc-3fb45d7fe1eebddf7dcba3e140b94b98a587dd87.tar.bz2
ada: Resolve compilation issues with container aggregates in draft ACATS B tests
This change set addresses compilation problems encountered in the draft versions of the following ACATS B tests for container aggregates: B435001 (container aggregates with Assign_Indexed) B435002 (container aggregates with Add_Unnamed) B435003 (container aggregates with Add_Named) B435004 (container aggregates with Assign_Indexed and Add_Unnamed) gcc/ada/ * sem_aggr.adb (Resolve_Iterated_Association): In the case of N_Iterated_Element_Associations that have a key expression, issue an error if the aggregate type does not have an Add_Named operation, and include a reference to RM22 4.3.5(24) in the error message. In the case of an N_Component_Association with a Defining_Identifer where the "choice" is given by a function call, in the creation of the iterator_specification associate a copy of Choice as its Name, and remove the call to Analyze_Iterator_Specification, which was causing problems with the reanalysis of function calls originally given in prefixed form that were transformed into function calls in normal (infix) form. The iterator_specification will be analyzed later in any case, so that call should not be done here. Remove the with and use of Sem_Ch5.
Diffstat (limited to 'gcc/tree-vect-loop.cc')
0 files changed, 0 insertions, 0 deletions