(poplevel): Call `remember_end_note' for each newly created BLOCK node.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Aug 1992 03:19:01 +0000 (03:19 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Aug 1992 03:19:01 +0000 (03:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1989 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/c-decl.c

index afe724a..a156400 100644 (file)
@@ -883,6 +883,7 @@ poplevel (keep, reverse, functionbody)
       BLOCK_VARS (block) = decls;
       BLOCK_TYPE_TAGS (block) = tags;
       BLOCK_SUBBLOCKS (block) = subblocks;
+      remember_end_node (block);
     }
 
   /* In each subblock, record that this is its superior.  */