This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/19639] Funny (horrible) code for empty destructor
- From: "rguenth at tat dot physik dot uni-tuebingen dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2005 18:54:36 -0000
- Subject: [Bug tree-optimization/19639] Funny (horrible) code for empty destructor
- References: <20050126134950.19639.rguenth@tat.physik.uni-tuebingen.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rguenth at tat dot physik dot uni-tuebingen dot de 2005-01-30 18:54 -------
Subject: Re: Funny (horrible) code for empty
destructor
pinskia at gcc dot gnu dot org wrote:
> ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-29 21:19 -------
> As(In reply to comment #7)
>
>>Or we could simply unroll the loop completely, but while SCEV finds
>>the IV as
>
>
> Again this is most likely because fold does not fold "&x.foo[2] - 4B" to "&x.foo[0]", or someone forgets
> to call fold on that. I know that fold_stmt can do it.
Yeah, I can find code to fold &x.foo[i] - c * j, but not without the c *
mult. I'll look into this later.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19639