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: [tree-ssa] More CCP fixes [patch]


On Sun, 11 Aug 2002 17:51:14 -0400, Diego Novillo <dnovillo@redhat.com> wrote:

> 2- unsorted/i++.c fails because in:
>
>     i = 2;
>     i = i;
>
>    CCP replaces the second assignment with '2 = i'.  As per Dan's
>    suggestion, we need to keep pointers to the expressions that
>    contain them.

Or not try to do replacement on expressions used in an lvalue context.

Jason


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