This is the mail archive of the gcc-bugs@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]

[Bug tree-optimization/31849] [4.3 Regression] Code size regression caused by fix to PR 31360



------- Comment #29 from rakdver at kam dot mff dot cuni dot cz  2007-11-26 01:42 -------
Subject: Re:  [4.3 Regression] Code size regression caused by fix to PR 31360

> ------- Comment #28 from pinskia at gcc dot gnu dot org  2007-11-26 01:24 -------
> A couple of comments about the patch.
> + #define CP_AUTOINC_OFFSET(CP) ((int) (size_t) (CP)->value)
> 
> I don't like this idea at all.

I may change cost_pair to union, if this bothers you too much.

> The patch should support pre increment also (this shows up on PPC) and pre/post
> decrement.

post-decrement is already supported.  Pre-(inc/dec)rements are more
complicated, as supporting them would require us to create induction
variables incremented at the start of the loop body (instead of at the
end, as we do now).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31849


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