This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][TUPLES] Two simple bug fixes.
- From: "=?big5?b?RG91ZyBLd2FuICjD9q62vHcp?=" <dougkwan at google dot com>
- To: "Diego Novillo" <dnovillo at google dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 13 Apr 2008 00:35:32 -0700
- Subject: [PATCH][TUPLES] Two simple bug fixes.
Hi Diego,
Could you please review this simple patch? The first fix is in
gsi_move_to_bb_end. The bug is quite subtle. In the old code, if
the target bb is empty, bb_seq will be empty and gsi_last will not
have the correct bb set. That causes the moved gimple to have NULL is
its bb. The second fix is to re-enable the second tail recursion
pass. I did not do so when I check in the patch for tree-tailcall.c.
Thanks.
-Doug