This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC trunk SPEC2000 performance
- From: law at redhat dot com
- To: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Cc: Jan Hubicka <jh at suse dot cz>, Andreas Jaeger <aj at suse dot de>, Diego Novillo <dnovillo at redhat dot com>, David Edelsohn <dje at watson dot ibm dot com>, Mark Mitchell <mark at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: Thu, 20 Jun 2002 15:00:05 -0600
- Subject: Re: GCC trunk SPEC2000 performance
- Reply-to: law at redhat dot com
In message <3D123FD5.7EEA0FB2@moene.indiv.nluug.nl>, Toon Moene writes:
> law@redhat.com wrote:
>
> > In message <3D123660.A20EFB79@moene.indiv.nluug.nl>, Toon Moene writes:
>
> > > The problem is the MEM rtx in this array. I looked into it and I
> > > couldn't find where it was filled in incorrectly, but I assume someone
> > > with better gdb skills than mine would be able to find the culprit.
> > One quick test to throw out one theory would be to see if this abort
> > happens before reload, during reload or after reload.
>
> Well, the abort (compiling apsi.f with -O3) happens in:
>
> apsi.f: In subroutine `uvset':
> apsi.f:4327: internal compiler error: RTL flag check: REG_POINTER used
> with unexpected rtx code `mem' in copy_rtx_and_substitute, at
> integrate.c:2065
> Please submit a full bug report,
> ...
>
> ... integrate. This is before reload puts its ugly fingers on it,
> IIUTCC (if I understand this compiler correctly).
Yes, but we sometimes have calls from one part of the compiler into other
parts. So while integration happens very early, some of the routines in
integrate.c may be called from other passes (for example, the unroller calls
into various routines in integrate.c).
I wouldn't expect a call from reload (or a later pass) to
copy_rtx_and_substitute,
but stranger things have happened. And it's easy enough to check, just
start up f771 in the debugger, run it. When it aborts, print out the
value of reload_completed and reload_in_progress.
jeff