This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/31849] [4.3 Regression] Code size regression caused by fix to PR 31360
- From: "rakdver at kam dot mff dot cuni dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2007 01:42:56 -0000
- Subject: [Bug tree-optimization/31849] [4.3 Regression] Code size regression caused by fix to PR 31360
- References: <bug-31849-374@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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