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]

[tree-ssa] Tiny PATCH to canonicalize_component_ref


There's no reason to recalculate side-effects immediately after a build.

Tested athlon-pc-linux-gnu, applied to tree-ssa.

2003-11-14  Jason Merrill  <jason@redhat.com>

	* gimplify.c (canonicalize_component_ref): Remove redundant call
	to recalculate_side_effects.

*** gimplify.c.~1~	2003-11-12 11:54:35.000000000 -0500
--- gimplify.c	2003-11-13 16:03:43.000000000 -0500
*************** canonicalize_component_ref (tree *expr_p
*** 1265,1271 ****
  
        /* And wrap the whole thing inside a NOP_EXPR.  */
        expr = build1 (NOP_EXPR, old_type, expr);
-       recalculate_side_effects (expr);
  
        *expr_p = expr;
      }
--- 1265,1270 ----

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