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]

Re: [lno] Induction variable optimizations


Index: expr.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/expr.c,v
retrieving revision 1.467.2.70.2.1
diff -c -3 -p -r1.467.2.70.2.1 expr.c
*** expr.c	21 Jan 2004 01:10:26 -0000	1.467.2.70.2.1
--- expr.c	25 Jan 2004 20:16:35 -0000
*************** expand_expr_1 (tree exp, rtx target, enu
*** 6433,6438 ****
--- 6433,6441 ----
  	return temp;
        }

+ case SSA_NAME:
+ return expand_expr_1 (SSA_NAME_VAR (exp), target, tmode, modifier);
+
case PARM_DECL:
if (!DECL_RTL_SET_P (exp))
{



Uh, this shouldn't be necessary.
We shouldn't have SSA_NAME's by the time we go to expand the expression. rewrite_out_of_ssa should have removed it.



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