re PR ada/92362 (double elaboration of expression in Address aspect)
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 25 Nov 2019 10:48:55 +0000 (10:48 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Mon, 25 Nov 2019 10:48:55 +0000 (10:48 +0000)
commitd587d1e4aa6a33372f64b0f3983ef66afa3d1897
tree5be921b4dc8697403ff531e31f135ddf88ee3922
parent32bef8ff8090a0d108fa14fc4088e55e57a5e6d5
re PR ada/92362 (double elaboration of expression in Address aspect)

PR ada/92362
* gcc-interface/trans.c (gnat_to_gnu) <N_Attribute_Definition_Clause>:
Use a temporary instead of clobbering the result with a freeze node.

From-SVN: r278675
gcc/ada/ChangeLog
gcc/ada/gcc-interface/trans.c
gcc/testsuite/ChangeLog
gcc/testsuite/gnat.dg/addr14.adb [new file with mode: 0644]