This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]