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: [patch] Replace first_rtl_op with TREE_CODE_LENGTH - Part 1/2


Hi Zack,

> Ok.

Thanks.

> >    if (TREE_CODE (*tp) == TARGET_EXPR)
> >      {
> >  #if 0
> > -      int i, len = first_rtl_op (TARGET_EXPR);
> > +      int i, len = TREE_CODE_LENGTH (TARGET_EXPR);
> >  
> >        /* We're walking our own subtrees.  */
> >        *walk_subtrees = 0;
> 
> Note the #if 0.  Why is it there, and can we rip out the block
> entirely?

Probably.  Is every TARGET_EXPR lowered and replaced with something
else by the time we get to expand_calls_inline?  Looking at
gimplify.c, I feel that some TARGET_EXPR are lowered.  Other are not.

Kazu Hirata


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