mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 20:35:58 +08:00
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
This commit is contained in:
parent
198f32a6e4
commit
b3abfd6fc1
@ -1,3 +1,8 @@
|
||||
Mon Jul 27 00:54:41 1998 Jason Merrill <jason@yorick.cygnus.com>
|
||||
|
||||
* tree.c (simple_cst_equal, case CONSTRUCTOR): OK if the elts are
|
||||
identical.
|
||||
|
||||
Mon Jul 27 22:18:36 1998 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* pa.c (move_operand): Accept CONSTANT_P_RTX.
|
||||
|
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user