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: Ping tree-ssa-operands cleanup patches


Hello,

> > *** 1068,1074 ****
> >       case VAR_DECL:
> >       case PARM_DECL:
> >       case RESULT_DECL:
> > -     case CONST_DECL:
> >         {
> >   	subvar_t svars;
> >   	
> > *************** get_expr_operands (tree stmt, tree *expr
> > *** 1250,1255 ****
> > --- 1243,1249 ----
> >       case EXC_PTR_EXPR:
> >       case FILTER_EXPR:
> >       case LABEL_DECL:
> > +     case CONST_DECL:
> >         /* Expressions that make no memory references.  */
> >         return;
> 
> CONST_DECL makes a memory reference, why are you moving it here?
> There is not information on why you are changing this.

the memory reference in const_decl never changes, thus it is not
interesting as far as operands are concerned.  I may add a comment.

Zdenek


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