This is the mail archive of the gcc@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: How to debug ssa optimizer


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

>     Ah yes, the "Fold *&B to B" case?  Sure, I'd be happy with a check
>     added there that we don't return the wrong type.
>
> Yup.  But then if it falls through, verify_stmt will fail since the
> operand isn't valid.  So, as I said, there are still some holes here.

Maybe the canonical form for "char *foo, bar[10]; foo = bar;"
should be 
<modify_expr <var_decl foo>  <nop_expr type <char *> <var_decl bar>>
instead of using addr_expr?

zw


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