trans.c (gnat_to_gnu): Rework special code dealing with boolean rvalues and set the...
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 6 Jun 2016 09:31:13 +0000 (09:31 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 6 Jun 2016 09:31:13 +0000 (09:31 +0000)
commitf1ff07ec096c3b59ef3d883e00dd4a840314eaf8
tree314a89953c8874cecc3aa9104af7f010aa90f458
parentd5ebeb8c1b41ad58235374766579fb8c6cf1297b
trans.c (gnat_to_gnu): Rework special code dealing with boolean rvalues and set the location directly.

* gcc-interface/trans.c (gnat_to_gnu): Rework special code dealing
with boolean rvalues and set the location directly.  Do not set the
location in the other cases for a simple name.
(gnat_to_gnu_external): Clear the location on the expression.

From-SVN: r237123
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c