diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-27 10:50:11 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-02-27 10:50:11 -0500 |
commit | a7fcb96813c5ff386324bc72928663a429dd11c6 (patch) | |
tree | ec9906997f8783a1323babeac1e3f94c7f5b7736 /gcc | |
parent | 0575fe3c3c9d675e3f033ed80a188d304ef73a70 (diff) | |
download | gcc-a7fcb96813c5ff386324bc72928663a429dd11c6.zip gcc-a7fcb96813c5ff386324bc72928663a429dd11c6.tar.gz gcc-a7fcb96813c5ff386324bc72928663a429dd11c6.tar.bz2 |
(make_node, stabilize_reference_1): Abort if unknown class.
From-SVN: r6647
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/tree.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -926,6 +926,10 @@ make_node (code) /* Identifier nodes are always permanent since they are unique in a compiler run. */ if (code == IDENTIFIER_NODE) obstack = &permanent_obstack; + break; + + default: + abort (); } t = (tree) obstack_alloc (obstack, length); @@ -2375,6 +2379,9 @@ stabilize_reference_1 (e) /* Recursively stabilize each operand. */ result = build_nt (code, stabilize_reference_1 (TREE_OPERAND (e, 0))); break; + + default: + abort (); } TREE_TYPE (result) = TREE_TYPE (e); |