Emit debug info for integral variables first
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 23 Jun 2020 16:14:12 +0000 (18:14 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 23 Jun 2020 16:35:47 +0000 (18:35 +0200)
commitb523ee1f4b139532ecffb2bf707e65cfc5a837fe
tree9e0be3d5a4157a2a1c210f5ac1da45b7bb7d270e
parentce36abee27776e8cf8eee220b6acab45a53fe61f
Emit debug info for integral variables first

This makes it possible for global dynamic types to reference the DIE of
these integral variables.

gcc/ada/ChangeLog:
* gcc-interface/utils.c (gnat_write_global_declarations): Output
integral global variables first and the imported functions later.
gcc/ada/gcc-interface/utils.c