diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-10 15:13:54 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-02-10 15:13:54 +0000 |
commit | 8cff878b277f9af6c2827a87581baac5f768e12a (patch) | |
tree | d4e178503efd243eed24ff3b753cd998370d75d4 /gcc/ada/atree.adb | |
parent | 9610b14f8599a9db94822d3f0923b58b2f1177dc (diff) | |
download | gcc-8cff878b277f9af6c2827a87581baac5f768e12a.tar.gz |
[./]
2016-02-10 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with some of GCC 6, using
svn merge -r222130:226090 ^/trunk ; UNSTABLE}}
[gcc/]
2016-02-10 Basile Starynkevitch <basile@starynkevitch.net>
{{ merging with trunk 226090 ; UNSTABLE }}
* melt-run.proto.h: include tree-ssa-scopedtables.h
* tree-ssa-dom.c: skip second record_edge_info
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@233272 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/atree.adb')
-rw-r--r-- | gcc/ada/atree.adb | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/ada/atree.adb b/gcc/ada/atree.adb index 93750872997..870d7ffa79e 100644 --- a/gcc/ada/atree.adb +++ b/gcc/ada/atree.adb @@ -594,6 +594,10 @@ package body Atree is Set_Is_Ignored_Ghost_Node (New_Id); end if; + -- Clear Check_Actuals to False + + Set_Check_Actuals (New_Id, False); + -- Specifically copy Paren_Count to deal with creating new table entry -- if the parentheses count is at the maximum possible value already. @@ -651,6 +655,15 @@ package body Atree is (Nodes.Table (E + 2).Field12'Unrestricted_Access)).Convention := Val; end Basic_Set_Convention; + ------------------- + -- Check_Actuals -- + ------------------- + + function Check_Actuals (N : Node_Id) return Boolean is + begin + return Flags.Table (N).Check_Actuals; + end Check_Actuals; + -------------------------- -- Check_Error_Detected -- -------------------------- @@ -2040,6 +2053,15 @@ package body Atree is Nodes.Table (N).Analyzed := Val; end Set_Analyzed; + ----------------------- + -- Set_Check_Actuals -- + ----------------------- + + procedure Set_Check_Actuals (N : Node_Id; Val : Boolean := True) is + begin + Flags.Table (N).Check_Actuals := Val; + end Set_Check_Actuals; + --------------------------- -- Set_Comes_From_Source -- --------------------------- |