r262773 - in /trunk/gcc/ada: ChangeLog sem_util...
pmderodat@gcc.gnu.org
pmderodat@gcc.gnu.org
Tue Jul 17 08:06:00 GMT 2018
Author: pmderodat
Date: Tue Jul 17 08:06:04 2018
New Revision: 262773
URL: https://gcc.gnu.org/viewcvs?rev=262773&root=gcc&view=rev
Log:
[Ada] Fix Next_Actual when used on calls "inlined for proof"
The GNATprove backend needs to apply antialiasing checks to subprogram
calls that have been rewritten into null statements while "inlining for
proof". This requires the First_Actual/Next_Actual to use the Original_Node
and not the N_Null_Statement that rewriting leaves as a parent.
Only effective in GNATprove mode, so no frontend test provided.
2018-07-17 Piotr Trojanek <trojanek@adacore.com>
gcc/ada/
* sem_util.adb (Next_Actual): If the parent is a N_Null_Statement,
which happens for inlined calls, then fetch the next actual from the
original AST.
Modified:
trunk/gcc/ada/ChangeLog
trunk/gcc/ada/sem_util.adb
More information about the Gcc-cvs
mailing list