aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorMarc Poulhiès <poulhies@adacore.com>2023-03-06 12:15:13 +0100
committerMarc Poulhiès <poulhies@adacore.com>2023-05-25 09:44:17 +0200
commit3da0e4ae25f15949f87e74aa96a03b47e51a9ff3 (patch)
tree09216b1633a4b50d3d20f7094d7d3db6484c46b9 /gcc/tree-vectorizer.h
parent845d4419da1abe839431af7e6bf5aaecec932486 (diff)
downloadgcc-3da0e4ae25f15949f87e74aa96a03b47e51a9ff3.zip
gcc-3da0e4ae25f15949f87e74aa96a03b47e51a9ff3.tar.gz
gcc-3da0e4ae25f15949f87e74aa96a03b47e51a9ff3.tar.bz2
ada: Fix (again) incorrect handling of Aggregate aspect
Previous fix stopped the processing of the Aggregate aspect early, skipping the call to Record_Rep_Item, making later call to Resolve_Container_Aggregate fail. Also, the previous fix would not handle correctly the case where the type is private and the check for non-array type can only be done at the freeze point with the full type. Adapt the resolving of the aspect when the input is not correct and the parameters can't be resolved. gcc/ada/ * sem_ch13.adb (Analyze_One_Aspect): Call Record_Rep_Item. (Check_Aspect_At_Freeze_Point): Check the aspect is specified on non-array type only... (Analyze_One_Aspect): ... instead of doing it too early here. * sem_aggr.adb (Resolve_Container_Aggregate): Do nothing in case the parameters failed to resolve.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions