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: sh64-elf (SH5) port


On Feb  4, 2002, Alexandre Oliva <aoliva@redhat.com> wrote:

> Index: gcc/cfgcleanup.c

> @@ -1531,149 +1532,158 @@ try_optimize_cfg (mode)
>    for (i = 0; i < n_basic_blocks; i++)
>      update_forwarder_flag (BASIC_BLOCK (i));
 
> -  /* Attempt to merge blocks as made possible by edge removal.  If a block
> -     has only one successor, and the successor has only one predecessor,
> -     they may be combined.  */
> -  do
> +  if (! (* targetm.cannot_modify_jumps_p) ())

Hmm...  Diff was quite stupid on this one.  All I did was to enclose
the whole do/while block in the if test above, re-indent the block and
add line breaks so as to avoid exceeding line length limits.  Just so
that you don't spend any time looking closely at the non-changes in it
:-)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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