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]

Re: test patch for computed gotos


> FYI, the bb-reorder changes vs mainline from this are as follows
> (assuming I havn't missed a hunk).

I tried to apply these patches in order; the first two went OK, but the
last bombed:

popov-81% patch -b < ~/gcse-patch1
patching file Makefile.in
patching file bb-reorder.c
patching file cfgcleanup.c
patching file function.c
patching file function.h
patching file stmt.c
popov-82% patch -b < ~/gcse-patch2
patching file gcse.c
popov-83% patch -b < ~/gcse-patch3
patching file bb-reorder.c
Hunk #1 succeeded at 459 with fuzz 1 (offset 11 lines).
Hunk #2 FAILED at 922.
Hunk #3 FAILED at 967.
Hunk #4 FAILED at 986.
Hunk #5 FAILED at 996.
4 out of 5 hunks FAILED -- saving rejects to file bb-reorder.c.rej

It seems that the only part of the last patch that was applied is:

popov-86% diff bb-reorder.c bb-reorder.c.orig 
462,467d461
<         /* If the destination has multiple precessesors, and can be
<     duplicated cheaper than a jump, don't allow it to be added
<     to a trace.  We'll duplicate it when connecting traces.  */
<         if (e->dest->pred->pred_next && copy_bb_p (e->dest, 0))
<    continue;
< 

Any suggestions on how to proceed?

Brad


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