This is the mail archive of the gcc@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]

m68k regression (PR9255) was Re: 3.3 target date?



Peter Barada wrote:
> 
> >PR9255 is a regression from 3.2 which prevents m68k targets from
> >compiling.
> >
> >Overnight, i386-rtems, sh-rtems, and sh-rtemself wouldn't complete a
> >build on the 3.3 branch.  I have updated my tree and am going to see
> >if these failures were fixed overnight and are repeatable on i386-elf,
> >sh-coff, and sh-elf respectively.
> 
> Joal,
> 
> Try this patch.  It works on Uberbaum:

It works on the 3.3 branch and allows m68k-elf to build to completion.  
m68k-rtems and m68k-coff have not been checked with this patch.

Since it is to a common file, someone very knowledgeable will have
to review it.  

--joel

> Index: combine.c
> ===================================================================
> RCS file: /cvs/uberbaum/gcc/combine.c,v
> retrieving revision 1.340
> diff -c -r1.340 combine.c
> *** combine.c   14 Feb 2003 07:35:44 -0000      1.340
> --- combine.c   19 Feb 2003 13:56:53 -0000
> ***************
> *** 8068,8073 ****
> --- 8068,8079 ----
>     unsigned HOST_WIDE_INT nonzero;
>     int i;
> 
> + #if 1
> +   /* Can only simplify integer modes  */
> +   if (!(GET_MODE_CLASS (mode) == MODE_INT || GET_MODE_CLASS (mode) == MODE_PARTIAL_INT))
> +     return x;
> + #endif
> +
>     /* Simplify VAROP knowing that we will be only looking at some of the
>        bits in it.
> 
> --
> Peter Barada
> peter at baradas dot org

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp dot com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985


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