This patch adds processing for N_Variable_Reference_Marker nodes to the
transformation phase of gigi.

Tested on x86_64-pc-linux-gnu, committed on trunk

2017-11-09  Hristian Kirtchev  <kirtc...@adacore.com>

        * gcc-interface/trans.c (gnat_to_gnu): Add processing for
        N_Variable_Reference_Marker nodes.

Index: gcc-interface/trans.c
===================================================================
--- gcc-interface/trans.c       (revision 254580)
+++ gcc-interface/trans.c       (working copy)
@@ -7695,12 +7695,12 @@
     /* Added Nodes  */
     /****************/
 
-    /* Call markers are created by the ABE mechanism to capture the target of
-       a call along with other elaboration-related attributes which are either
-       unavailable of expensive to recompute.  Call markers do not have static
-       and runtime semantics, and should be ignored. */
+    /* Markers are created by the ABE mechanism to capture information which
+       is either unavailable of expensive to recompute.  Markers do not have
+       and runtime semantics, and should be ignored.  */
 
     case N_Call_Marker:
+    case N_Variable_Reference_Marker:
       gnu_result = alloc_stmt_list ();
       break;
 

Reply via email to