]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/87124 (ICE have integer_cst in SSA_VAL, at tree-ssa-sccvn...
authorRichard Biener <rguenther@suse.de>
Tue, 28 Aug 2018 13:36:49 +0000 (13:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 28 Aug 2018 13:36:49 +0000 (13:36 +0000)
commit49aecbebe25714a59fbd18e4852c411587db1994
tree84021122936be9d206e666f651103adb24be9baa
parent1312bb902382cb4891673284f43ac095e80374cf
re PR tree-optimization/87124 (ICE have integer_cst in SSA_VAL, at tree-ssa-sccvn.c:462 while building 541.leela_r from SPEC2017)

2018-08-28  Richard Biener  <rguenther@suse.de>

PR tree-optimization/87124
* tree-ssa-sccvn.c (vn_lookup_simplify_result): Guard against
constants before looking up avail.

* g++.dg/torture/pr87124.C: New testcase.

From-SVN: r263918
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr87124.C [new file with mode: 0644]
gcc/tree-ssa-sccvn.c