diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1998-07-27 21:42:35 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1998-07-27 17:42:35 -0400 |
commit | b3abfd6fc10e886efa58bf9a27b99bfefe843883 (patch) | |
tree | 8426aef38e4d73464fdcabc9cac98efcc97f4ff0 /gcc/tree.c | |
parent | 198f32a6e4828de13199dad60a0fec4b92f6059c (diff) | |
download | gcc-b3abfd6fc10e886efa58bf9a27b99bfefe843883.zip gcc-b3abfd6fc10e886efa58bf9a27b99bfefe843883.tar.gz gcc-b3abfd6fc10e886efa58bf9a27b99bfefe843883.tar.bz2 |
tree.c (simple_cst_equal, [...]): OK if the elts are identical.
* tree.c (simple_cst_equal, case CONSTRUCTOR): OK if the elts are
identical.
From-SVN: r21425
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3984,7 +3984,10 @@ simple_cst_equal (t1, t2) TREE_STRING_LENGTH (t1)); case CONSTRUCTOR: - abort (); + if (CONSTRUCTOR_ELTS (t1) == CONSTRUCTOR_ELTS (t2)) + return 1; + else + abort (); case SAVE_EXPR: return simple_cst_equal (TREE_OPERAND (t1, 0), TREE_OPERAND (t2, 0)); |