This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tuples][patch] Fix for get_expr_operands()
- From: "Oleg Ryjkov" <olegr at google dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 13 Mar 2008 13:15:01 -0700
- Subject: [tuples][patch] Fix for get_expr_operands()
Hi,
This patch addes two case statements to get_expr_operands to handle
FILTER_EXPR and EXP_PTR_EXPR.
Tested on i686-linux, no regressions, 9 testcases fixed.
2008-03-13 Diego Novillo <dnovillo@google.com>
Oleg Ryjkov <olegr@google.com>
* tree-ssa-operands.c (get_expr_operands): Handle FILTER_EXPR and
EXC_PTR_EXPR.
Index: ChangeLog.tuples
===================================================================
--- ChangeLog.tuples (revision 133191)
+++ ChangeLog.tuples (working copy)
@@ -1,3 +1,9 @@
+2008-03-13 Diego Novillo <dnovillo@google.com>
+ Oleg Ryjkov <olegr@google.com>
+
+ * tree-ssa-operands.c (get_expr_operands): Handle FILTER_EXPR and
+ EXC_PTR_EXPR.
+
2008-03-12 Diego Novillo <dnovillo@google.com>
Oleg Ryjkov <olegr@google.com>
Index: tree-ssa-operands.c
===================================================================
--- tree-ssa-operands.c (revision 133191)
+++ tree-ssa-operands.c (working copy)
@@ -2351,6 +2351,8 @@ get_expr_operands (gimple stmt, tree *ex
case LABEL_DECL:
case CONST_DECL:
case CASE_LABEL_EXPR:
+ case FILTER_EXPR:
+ case EXC_PTR_EXPR:
/* Expressions that make no memory references. */
return;