re PR tree-optimization/82244 (-O2: ICE: tree check: expected ssa_name, have integer_...
authorRichard Biener <rguenther@suse.de>
Tue, 19 Sep 2017 11:57:39 +0000 (11:57 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 19 Sep 2017 11:57:39 +0000 (11:57 +0000)
commit109bb9107bc49ad4d396c387dd29fa9f6eeb9c39
treef82639aeed94496688ffd3da48cb39012e5ba13e
parentffaea1170332667a1533a354dfcedc6d0de4aa5e
re PR tree-optimization/82244 (-O2: ICE: tree check: expected ssa_name, have integer_cst in replace_uses_by, at tree-cfg.c:1904)

2017-09-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/82244
* tree-vrp.c (remove_range_assertions): Do not propagate
a constant to abnormals but replace the assert with a copy.

* gcc.dg/torture/pr82244.c: New testcase.

From-SVN: r252973
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr82244.c [new file with mode: 0644]
gcc/tree-vrp.c