From 8e34a7c6bab4f76ad31d9639ee750b7f5460837b Mon Sep 17 00:00:00 2001 From: spop Date: Fri, 7 Nov 2008 18:03:04 +0000 Subject: 2008-11-07 Sebastian Pop PR middle-end/37379 * tree-scalar-evolution.c (instantiate_scev_1): Return chrec_dont_know for VL_EXP_CLASS_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141682 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-scalar-evolution.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gcc/tree-scalar-evolution.c') diff --git a/gcc/tree-scalar-evolution.c b/gcc/tree-scalar-evolution.c index 52e2c75f0fe..51bbd4bcdcb 100644 --- a/gcc/tree-scalar-evolution.c +++ b/gcc/tree-scalar-evolution.c @@ -2213,7 +2213,9 @@ instantiate_scev_1 (basic_block instantiate_below, break; } - gcc_assert (!VL_EXP_CLASS_P (chrec)); + if (VL_EXP_CLASS_P (chrec)) + return chrec_dont_know; + switch (TREE_CODE_LENGTH (TREE_CODE (chrec))) { case 3: -- cgit v1.2.1