From: Piotr Trojanek <[email protected]>

The debug hook "nnd" is triggered by Mutate_Nkind and now is similarly
triggered by Change_Node, which implements a special-case of node kind
mutation.

gcc/ada/ChangeLog:

        * atree.adb (Change_Node): Enable "nnd" debug hook.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 gcc/ada/atree.adb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/ada/atree.adb b/gcc/ada/atree.adb
index 3be9f2f77e1..56ccafb8015 100644
--- a/gcc/ada/atree.adb
+++ b/gcc/ada/atree.adb
@@ -1246,6 +1246,8 @@ package body Atree is
       if New_Kind in N_Subexpr then
          Set_Paren_Count (N, Par_Count);
       end if;
+
+      New_Node_Debugging_Output (N);
    end Change_Node;
 
    ------------------------
-- 
2.53.0

Reply via email to