diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2024-12-20 13:00:37 +0100 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2025-01-10 10:39:55 +0100 |
commit | 2b27522090c4f98081db0dbfa035ae6501bbf498 (patch) | |
tree | 2ca8678eddc4ea89d1e56a8249f8d58461abc0f0 /gcc/c | |
parent | 38a13ea4117b96e467f78b3f86d737ecbe326935 (diff) | |
download | gcc-2b27522090c4f98081db0dbfa035ae6501bbf498.zip gcc-2b27522090c4f98081db0dbfa035ae6501bbf498.tar.gz gcc-2b27522090c4f98081db0dbfa035ae6501bbf498.tar.bz2 |
ada: Reorder syntactic node fields to match the Ada RM grammar
Several AST nodes had their syntactic fields in a different order than
specified by the Ada RM grammar. With the variable-size nodes this no longer
had an impact on the AST memory layout and was making the automatically
generated Nmake routines a bit unintuitive to use.
gcc/ada/ChangeLog:
* exp_ch3.adb (Predef_Spec_Or_Body): Add explicit parameter
associations, because now the Empty_List actual parameter would be
confused as being for the Aspect_Specifications formal parameter.
* gen_il-gen-gen_nodes.adb (Gen_Nodes): Reorder syntactic fields.
* sem_util.adb (Declare_Indirect_Temp): Add explicit parameter
association, because now the parameter will be interpreted as a
subpool handle name.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions