re PR middle-end/89790 (ICE segfault in operand_equal_p() at fold-const.c:3000 with...
authorRichard Biener <rguenther@suse.de>
Mon, 25 Mar 2019 10:05:15 +0000 (10:05 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 25 Mar 2019 10:05:15 +0000 (10:05 +0000)
commitf22e586c69e634fe6a48c4062ebde0db4d94cd1c
treeae7b52ed845f79786fc8b9256c836ad4dc1b9876
parent4c6d441da15fe18b504d63f19e59b7cd49b6371a
re PR middle-end/89790 (ICE segfault in operand_equal_p() at fold-const.c:3000 with -Wduplicated-cond since r269838)

2019-03-25  Richard Biener  <rguenther@suse.de>

PR middle-end/89790
* fold-const.c (operand_equal_p): Revert last change with
updated comment.

* g++.dg/pr89790.C: New testcase.

From-SVN: r269907
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr89790.C [new file with mode: 0644]