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] Fix PR 18965, a c++ and gimplifier fix


Hi Andrew,

On Tue, 14 Dec 2004, Mark Mitchell wrote:
> Andrew Pinski wrote:
> > ChangeLog:
> >	* gimplifier.c (gimplify_init_ctor_eval): If we have a RANGE_EXPR
> >	and the upper and lower are equal treat it like a upper was the
> >	purpose, otherwise we still cannot handle the rest of RANGE_EXPRs.
> > cp/ChangeLog:
> >	* init.c (build_zero_init): If the max_index is 0, there is no
> >	need to create a RANGE_EXPR.
>
> The cp/init.c change is OK, if you fix the spelling error in your comment.

And the gimplifier.c change is OK, if you also fix the spelling error
in the comment you move, "indicies" -> "indices".

Thanks,

Roger
--


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