fold-const.c (operand_equal_p): Add code matching empty constructors.
authorJan Hubicka <hubicka@ucw.cz>
Wed, 21 Oct 2015 21:12:05 +0000 (23:12 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 21 Oct 2015 21:12:05 +0000 (21:12 +0000)
commit1567db2f02e005b7a3349aedf0afb37c36260beb
treed49fbba1fc1f57ae6b2bf82b7ae886bec54401ad
parentc26065cc38586f9d014b0f04a54dfa0e52c23189
fold-const.c (operand_equal_p): Add code matching empty constructors.

* fold-const.c (operand_equal_p): Add code matching empty
constructors.
* gcc.dg/tree-ssa/operand-equal-1.c: Verify that empty constructors
are matched.

From-SVN: r229147
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/operand-equal-1.c [new file with mode: 0644]