fold-const.c (operand_equal_p): Temporarily support NULL args.
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>
Wed, 21 Jul 2004 01:21:11 +0000 (01:21 +0000)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 21 Jul 2004 01:21:11 +0000 (21:21 -0400)
commit462fdcce48d055b51f7ca5835c4dd43a94ecf767
tree208fd606ab7b1ab6d2cca7d8573cb5dd006033d8
parent0e28378a9a0becf189130f49c34ac8622d0f806b
fold-const.c (operand_equal_p): Temporarily support NULL args.

* fold-const.c (operand_equal_p): Temporarily support NULL args.
(operand_equal_p, case ARRAY_REF): Compare args 2 and 3.
(operand_equal_p, case COMPONENT_REF): Likewise, for arg 2.

From-SVN: r84990
gcc/ChangeLog
gcc/fold-const.c