This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 2.95.3 update
- To: Thorsten Kukuk <kukuk at suse dot de>
- Subject: Re: 2.95.3 update
- From: Bernd Schmidt <bernds at cambridge dot redhat dot com>
- Date: Fri, 9 Mar 2001 15:25:09 +0000 (GMT)
- Cc: <gcc at gcc dot gnu dot org>, <gcc-patches at gcc dot gnu dot org>
On Wed, 7 Mar 2001, Thorsten Kukuk wrote:
> Something I found out for 2 days: The current test release of gcc 2.95.3
> seg.faults if you run "make check" for glibc 2.2.2 on Linux/SPARC in
> the math tests.
Could you apply the patch below and test whether glibc still builds, and
whether "make check" now succeeds?
Index: final.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/final.c,v
retrieving revision 1.77.4.1
diff -u -p -r1.77.4.1 final.c
--- final.c 1999/06/21 23:21:23 1.77.4.1
+++ final.c 2001/03/09 15:23:28
@@ -3103,7 +3103,7 @@ alter_subreg (x)
PUT_CODE (x, MEM);
MEM_COPY_ATTRIBUTES (x, y);
MEM_ALIAS_SET (x) = MEM_ALIAS_SET (y);
- XEXP (x, 0) = plus_constant (XEXP (y, 0), offset);
+ XEXP (x, 0) = plus_constant_for_output (XEXP (y, 0), offset);
}
return x;