]> gcc.gnu.org Git - gcc.git/commit - gcc/ada/sem_ch12.adb
[Ada] Variable-sized node types -- cleanup
authorBob Duff <duff@adacore.com>
Thu, 25 Feb 2021 15:38:55 +0000 (10:38 -0500)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Jun 2021 10:19:16 +0000 (06:19 -0400)
commita7cadd18606c9c3ce2776b6f876ca98849b24b84
tree73551a1fc7c4fa7738d96349db729d5d2e805f3f
parent81e68a1954366f6b1730d75c932814121d743aa3
[Ada] Variable-sized node types -- cleanup

gcc/ada/

* atree.ads, einfo-utils.ads, einfo-utils.adb, fe.h, gen_il.adb,
gen_il.ads, gen_il-gen-gen_entities.adb,
gen_il-gen-gen_nodes.adb, sem_ch12.adb, sem_ch3.adb,
sem_util.adb, sinfo-utils.ads, treepr.adb, types.ads: Clean up
??? comments and other comments.
* atree.adb: Clean up ??? comments and other comments.
(Validate_Node): Fix bug: "Off_0 (N) < Off_L (N)"
should be "Off_0 (N) <= Off_L (N)".
* gen_il-gen.adb, gen_il-gen.ads: Clean up ???
comments and other comments.  Add support for getter-specific
and setter-specific preconditions.  Detect the error of putting
a field in the wrong subrange.  Misc cleanup.
(Node_Field vs. Entity_Field): Clean up Nmake.  Improve
comments.
* gen_il-utils.ads: Misc cleanup. Move...
* gen_il-internals.ads: ... here.
* gen_il-utils.adb: Misc cleanup. Move...
* gen_il-internals.adb: ... here.
* gen_il-fields.ads: Move Was_Default_Init_Box_Association,
which was in the wrong subrange.  Add comments.  Misc cleanup.
* gen_il-types.ads: Add Named_Access_Kind.
* sinfo-cn.adb: Clean up ??? comments and other comments.
Remove redundant assertions.
* einfo.ads, sinfo.ads: Clean up ??? comments and other
comments.  Remove all the comments indicating field offsets.
These are obsolete now that Gen_IL computes the offsets
automatically.
25 files changed:
gcc/ada/atree.adb
gcc/ada/atree.ads
gcc/ada/einfo-utils.adb
gcc/ada/einfo-utils.ads
gcc/ada/einfo.ads
gcc/ada/fe.h
gcc/ada/gen_il-fields.ads
gcc/ada/gen_il-gen-gen_entities.adb
gcc/ada/gen_il-gen-gen_nodes.adb
gcc/ada/gen_il-gen.adb
gcc/ada/gen_il-gen.ads
gcc/ada/gen_il-internals.adb [moved from gcc/ada/gen_il-utils.adb with 88% similarity]
gcc/ada/gen_il-internals.ads [new file with mode: 0644]
gcc/ada/gen_il-types.ads
gcc/ada/gen_il-utils.ads [deleted file]
gcc/ada/gen_il.adb
gcc/ada/gen_il.ads
gcc/ada/sem_ch12.adb
gcc/ada/sem_ch3.adb
gcc/ada/sem_util.adb
gcc/ada/sinfo-cn.adb
gcc/ada/sinfo-utils.ads
gcc/ada/sinfo.ads
gcc/ada/treepr.adb
gcc/ada/types.ads
This page took 0.064798 seconds and 5 git commands to generate.