re PR middle-end/49938 (ICE in interpret_loop_phi, at tree-scalar-evolution.c:1645)
authorRichard Guenther <rguenther@suse.de>
Wed, 3 Aug 2011 11:09:35 +0000 (11:09 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 3 Aug 2011 11:09:35 +0000 (11:09 +0000)
commiteb723fa314a09f6cf8708f8243a436ff9475558c
tree966a3e686084e32bc32a1287ab3ad9e51e3c3d7f
parent0187b60e160e72673f1116a215ca257e11ba3903
re PR middle-end/49938 (ICE in interpret_loop_phi, at tree-scalar-evolution.c:1645)

2011-08-03  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/49938
* tree-scalar-evolution.c (interpret_loop_phi): Gracefully
deal with a POLYNOMIAL_CHREC.

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

From-SVN: r177267
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr49938.C [new file with mode: 0644]
gcc/tree-scalar-evolution.c