]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR tree-optimization/59417 (ICE in determine_value_range, at tree-ssa-loop-niter...
authorJakub Jelinek <jakub@redhat.com>
Wed, 11 Dec 2013 09:19:41 +0000 (10:19 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 11 Dec 2013 09:19:41 +0000 (10:19 +0100)
commit20adc5b14897a3705f708982c4887db66d49835d
tree000f1cb2606177d6c2c6952a5cfbd3062075c818
parentf8cb36a94c67ec4723475e68df75f9571b4ed198
re PR tree-optimization/59417 (ICE in determine_value_range, at tree-ssa-loop-niter.c:176)

PR tree-optimization/59417
* tree-ssa-copy.c (fini_copy_prop): If copy_of[i].value is defined
in a different bb rhan var, only duplicate points-to info and
not alignment info and don't duplicate range info.
* tree-ssa-loop-niter.c (determine_value_range): Instead of
assertion failure handle inconsistencies in range info by only
using var's range info and not PHI result range infos.

* gcc.c-torture/compile/pr59417.c: New test.

From-SVN: r205884
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr59417.c [new file with mode: 0644]
gcc/tree-ssa-copy.c
gcc/tree-ssa-loop-niter.c