This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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;
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]