diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-11-07 18:03:04 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-11-07 18:03:04 +0000 |
commit | 8e34a7c6bab4f76ad31d9639ee750b7f5460837b (patch) | |
tree | 58d3da26cf088a9f8f329d42cc50b8d015a0d851 /gcc/tree-scalar-evolution.c | |
parent | 4d4c93113e58717cabc3d5e59bae1b259a74b115 (diff) | |
download | gcc-8e34a7c6bab4f76ad31d9639ee750b7f5460837b.tar.gz |
2008-11-07 Sebastian Pop <sebastian.pop@amd.com>
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
Diffstat (limited to 'gcc/tree-scalar-evolution.c')
-rw-r--r-- | gcc/tree-scalar-evolution.c | 4 |
1 files changed, 3 insertions, 1 deletions
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: |