(TREE_VIA_PROTECTED): Set protected_flag, not static_flag.
authorBrendan Kehoe <brendan@gcc.gnu.org>
Mon, 5 Oct 1992 22:39:55 +0000 (18:39 -0400)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Mon, 5 Oct 1992 22:39:55 +0000 (18:39 -0400)
From-SVN: r2329

gcc/tree.h

index 4c70438eb4c0b8cc28b8b57896d9a6e23de95050..e5a9d7a9b328723ccaaf721909145c75d4cf352c 100644 (file)
@@ -254,7 +254,7 @@ struct tree_common
    base class is via a `protected' declaration, which preserves
    protected fields from the base class as protected.
    OVERLOADED.  */
-#define TREE_VIA_PROTECTED(NODE) ((NODE)->common.static_flag)
+#define TREE_VIA_PROTECTED(NODE) ((NODE)->common.protected_flag)
 
 /* In any expression, nonzero means it has side effects or reevaluation
    of the whole expression could produce a different value.