summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-propagate.c
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2007-02-18 23:12:49 -0500
committerSandra Loosemore <sandra@gcc.gnu.org>2007-02-18 23:12:49 -0500
commit3328fbb7d159cce61987d8ad4373aa2b95370291 (patch)
tree67bc671c6913b0f60fec3a50355040a59c4bb2f7 /gcc/tree-ssa-propagate.c
parenteb441084eb81ab3d13bcbfedf7a7dbc46dd958c1 (diff)
downloadgcc-3328fbb7d159cce61987d8ad4373aa2b95370291.tar.gz
re PR middle-end/30833 (ICE with -fdump-tree-all)
2007-02-18 Sandra Loosemore <sandra@codesourcery.com> PR middle-end/30833 * tree-dump.c (dequeue_and_dump): Add tcc_vl_exp case missed during CALL_EXPR representation conversion. * tree-ssa-propagate.c (set_rhs): Likewise. From-SVN: r122122
Diffstat (limited to 'gcc/tree-ssa-propagate.c')
-rw-r--r--gcc/tree-ssa-propagate.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/tree-ssa-propagate.c b/gcc/tree-ssa-propagate.c
index 040d972cf4f..1bfb56c6eae 100644
--- a/gcc/tree-ssa-propagate.c
+++ b/gcc/tree-ssa-propagate.c
@@ -615,7 +615,6 @@ set_rhs (tree *stmt_p, tree expr)
return false;
break;
- case CALL_EXPR:
case EXC_PTR_EXPR:
case FILTER_EXPR:
break;
@@ -625,6 +624,16 @@ set_rhs (tree *stmt_p, tree expr)
}
break;
+ case tcc_vl_exp:
+ switch (code)
+ {
+ case CALL_EXPR:
+ break;
+ default:
+ return false;
+ }
+ break;
+
case tcc_exceptional:
switch (code)
{