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]

Re: 2.95.3 update


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;


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