This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ICE on alpha with -O2 with proposed fix
- To: Niklas Hallqvist <niklas at appli dot se>
- Subject: Re: ICE on alpha with -O2 with proposed fix
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Fri, 25 Jun 1999 06:29:07 -0600
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <199906011013.MAA22813@waldorf.appli.se>you write:
> Hi!
>
> As the OpenBSD project is in the process of converting to current egcs
> as its main compiler we are facing a few problems. One of them is
> that our hash.c in the DB library causes an internal compiler error in
> alpha.c, line 939. After the patch below, the specific test-case is
> included. Compiling that file with -O2 will trigger the bug on an
> alpha-unknown-openbsd2.5 configuration.
>
> To me it seems to be that during reload pseudo-registers can be seen
> as memory, which is all good. However in config/alpha/alpha.c there
> is a function get_aligned_mem that has not been taught this fact.
> This patch removes the abort in our case:
>
> Tue Jun 1 12:00:00 1999 Niklas Hallqvist <niklas@appli.se>
>
> * alpha.c (get_aligned_mem): Pseudo-registers can be seen as
> memory while we are in reload, so be more permissve about how
> memory may look in the case where we try to get an aligned
> word consisting of a specific byte we are looking for.
rth already fixed this bug in a different way.
Thanks,
jeff