Minor tweak to elaborate_expression_1
authorEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 23 Jun 2020 16:06:42 +0000 (18:06 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 23 Jun 2020 16:35:47 +0000 (18:35 +0200)
commitce36abee27776e8cf8eee220b6acab45a53fe61f
treed8a5f2dced28df424c93895fabe3db3ecd9eb557
parent5bdd063b9d8082cb8c8ede2721f1f425d3b952f0
Minor tweak to elaborate_expression_1

gcc/ada/ChangeLog:
* gcc-interface/decl.c (elaborate_expression_1): When GNAT encodings
are not used, do not create a variable for debug info purposes if
the expression is itself a user-declared variable.
gcc/ada/gcc-interface/decl.c