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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2005 21:19:09 -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 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.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19639