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] Add some more checking for tuples


On Fri, Jan 2, 2009 at 12:48 AM, Andrew Pinski <pinskia@gmail.com> wrote:
> Hi,
>  Even though we have lost some checking of the tree structure with
> tuples, this patch adds one extra check for INDIRECT_REF and makes
> MODIFY_EXPR invalid as an operand to the tuple.  A followup patch will
> restore the "GIMPLE register modified with BIT_FIELD_REF" checking and
> will add more checking to make sure the lhs and rhs for unary
> expressions are correct.
>
> OK? Bootstrapped and tested on x86_64-linux-gnu.

Ok.

Thanks,
Richard.

> Thanks,
> Andrew Pinski
>
> ChangeLog:
>
> * tree-cfg.c (verify_expr): Add INDIRECT_REF case.  Change MODIFY_EXPR
> case to be an error.
>


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