This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib 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]

FIX was [Fwd: gcc 3.1 hppa failures]



With the patch in the attached email, I can build much further.
At this point, the problems are newlib and libgloss.  newlib's
libc/machine/pa assembly code uses subspa directives and 
libgloss has a Makefile problem where it reports not having 
a target.

My PA assembly language is WAY too rusty to attempt to fix 
newlib at this point.  So please review and commit the
attached patch to the 3.1 and main trunks.  This will close
PR6455.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985
--- Begin Message ---
> Already done. :) I filed PR6455 with preprocessed test code 
> this morning. "gcc -O2 -c" should tell us whether the ICE 
> applies there.

I think this will fix PR6455.  Give it a try and let me know
if it works.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2002-04-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
	portable runtime model.

Index: pa.h
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config/pa/pa.h,v
retrieving revision 1.138.2.3
diff -u -3 -p -r1.138.2.3 pa.h
--- pa.h	23 Apr 2002 08:11:25 -0000	1.138.2.3
+++ pa.h	26 Apr 2002 04:17:14 -0000
@@ -1980,6 +1980,7 @@ while (0)
    will never return.  */
 #define FUNCTION_OK_FOR_SIBCALL(DECL) \
   (DECL \
+   && ! TARGET_PORTABLE_RUNTIME \
    && ! TARGET_64BIT \
    && ! TREE_PUBLIC (DECL))
 
--- End Message ---

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