[Bug ada/92362] [9/10 regression] double elaboration of expression in Address aspect
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Nov 25 10:53:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92362
--- Comment #4 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Mon Nov 25 10:52:33 2019
New Revision: 278676
URL: https://gcc.gnu.org/viewcvs?rev=278676&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-9-branch/gcc/testsuite/gnat.dg/addr14.adb
- copied unchanged from r278675, trunk/gcc/testsuite/gnat.dg/addr14.adb
Modified:
branches/gcc-9-branch/gcc/ada/ChangeLog
branches/gcc-9-branch/gcc/ada/gcc-interface/trans.c
branches/gcc-9-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list