aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppdefault.cc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2024-10-28 07:42:54 +0100
committerMarc Poulhiès <dkm@gcc.gnu.org>2024-11-12 14:00:52 +0100
commit1d602710a2feb91b66cb09d2d18bdbe7d429dee9 (patch)
treedc6b8c635260c0d6b950ac7adfda69595326ce31 /gcc/cppdefault.cc
parentf0a2e57d0525b3372d5de543c77c5e1d7f830c69 (diff)
downloadgcc-1d602710a2feb91b66cb09d2d18bdbe7d429dee9.zip
gcc-1d602710a2feb91b66cb09d2d18bdbe7d429dee9.tar.gz
gcc-1d602710a2feb91b66cb09d2d18bdbe7d429dee9.tar.bz2
ada: Remove couple of irregular calls to Resolve_Aggr_Expr
The function is supposed to be passed an expression, but it is passed the enclosing N_Component_Association node in a couple of cases, only to give an error that can as well be given in the caller, at the cost of bypasses to disable most of its processing. gcc/ada/ChangeLog: * sem_aggr.adb (Resolve_Array_Aggregate): In the case of an others choice with a box, do not call Resolve_Aggr_Exp and give the error for a multidimensional array directly. (Resolve_Aggr_Expr): Remove bypasses for above case.
Diffstat (limited to 'gcc/cppdefault.cc')
0 files changed, 0 insertions, 0 deletions