re PR tree-optimization/80374 (ICE in fold_convert_loc, at fold-const.c:2384)
authorJeff Law <law@redhat.com>
Mon, 10 Apr 2017 19:19:42 +0000 (13:19 -0600)
committerJeff Law <law@gcc.gnu.org>
Mon, 10 Apr 2017 19:19:42 +0000 (13:19 -0600)
commit9058a2c5c5505f75e40f96f0a86d4e343d7c2743
treed1ab4c2bf223dbce9c630a7c01b3744826ecacad
parentbd8f86429e63734550981cdc07a2908dc85b891b
re PR tree-optimization/80374 (ICE in fold_convert_loc, at fold-const.c:2384)

PR tree-optimization/80374
* tree-ssa-dom.c (derive_equivalences_from_bit_ior): Do not try to
record anything if we can not convert integer_zero_node to the
desired type.

PR tree-optimization/80374
* g++.dg/pr80374.c: New test.

From-SVN: r246819
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr80374.C [new file with mode: 0644]
gcc/tree-ssa-dom.c