diff options
author | Bob Duff <duff@adacore.com> | 2019-09-18 08:33:49 +0000 |
---|---|---|
committer | Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> | 2019-09-18 08:33:49 +0000 |
commit | 58ab1e7607d7e464ba1e4fa3d4986da934903b5c (patch) | |
tree | 386c1ad2d91b3eb509e7d45c4bf47fb4de33c38b /gcc/dwarf2out.c | |
parent | 5c13a04e0dcb6e6c07708dc6796968ee89b4560b (diff) | |
download | gcc-58ab1e7607d7e464ba1e4fa3d4986da934903b5c.zip gcc-58ab1e7607d7e464ba1e4fa3d4986da934903b5c.tar.gz gcc-58ab1e7607d7e464ba1e4fa3d4986da934903b5c.tar.bz2 |
[Ada] Avoid gnatbind regression caused by Copy_Bitfield
The recent Copy_Bitfield change caused gnatbind to change elaboration
order, causing different error messages.
2019-09-18 Bob Duff <duff@adacore.com>
gcc/ada/
* exp_ch5.adb (Expand_Assign_Array_Loop_Or_Bitfield): Move call
to RTE_Available later, so it doesn't disturb the elab order.
The RE_Copy_Bitfield entity is defined in package
System.Bitfields which has a dependency on package
System.Bitfield_Utils, which has it its spec:
pragma Elaborate_Body;
The query on RTE_Available forces loading and analyzing
System.Bitfields and all its withed units.
From-SVN: r275866
Diffstat (limited to 'gcc/dwarf2out.c')
0 files changed, 0 insertions, 0 deletions