diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2021-05-18 14:54:24 +0200 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-07-07 16:23:12 +0000 |
commit | 05435609367c0ae1398ac1b4becfae06d217552c (patch) | |
tree | b0f112d482fd0b2c389dbafb6b87245d1037ae65 /gcc/gimple-array-bounds.cc | |
parent | f3ff72939e52a381d28f3c4879f2eaa1d154ff73 (diff) | |
download | gcc-05435609367c0ae1398ac1b4becfae06d217552c.zip gcc-05435609367c0ae1398ac1b4becfae06d217552c.tar.gz gcc-05435609367c0ae1398ac1b4becfae06d217552c.tar.bz2 |
[Ada] Simplify handling of Generate_Code flag for compilation units
gcc/ada/
* gnat1drv.adb (Gnat1drv): Remove flagging of main unit and its
corresponding spec as requiring code generation; now the flags
are set much earlier.
* lib-load.adb (Load_Main_Source): Set Generate_Code flag on the
main unit source.
(Make_Instance_Unit): Copy Generate_Code flag from the main unit
to instance units.
* lib-writ.adb (Write_ALI): Remove redundant condition;
Generate_Code flag is always set for the main unit.
* par-load.adb (Load): Set Generate_Code flag on the main unit's
corresponding spec, if any.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions