This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/14470] [tree-ssa] trouble with post-increment
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2004 23:26:43 -0000
- Subject: [Bug middle-end/14470] [tree-ssa] trouble with post-increment
- References: <20040307221314.14470.lvoge@cs.vu.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-03-19 23:26 -------
OK, I understand the problem: POST_INC is indeed effectively disabled for
certain move targets because the increment queue is emitted after the source has
been expanded to a temporary but before the move from the temporary to the
target is.
What I needed to fix the PR is to ensure that the increment queue for the
*source* is emitted before the move, not necessarily for the target. Therefore
I think the correct fix is to introduce nesting levels for increment queues.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14470