public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* FIX was [Fwd: gcc 3.1 hppa failures]
@ 2002-04-26  6:33 Joel Sherrill
  2002-04-26  6:36 ` David S. Miller
  2002-04-26 11:46 ` law
  0 siblings, 2 replies; 3+ messages in thread
From: Joel Sherrill @ 2002-04-26  6:33 UTC (permalink / raw)
  To: gcc, newlib

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]


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

[-- Attachment #2: Type: message/rfc822, Size: 2215 bytes --]

From: "John David Anglin" <dave@hiauly1.hia.nrc.ca>
To: joel.sherrill@OARcorp.com
Subject: Re: gcc 3.1 hppa failures
Date: Fri, 26 Apr 2002 00:24:10 -0400 (EDT)
Message-ID: <200204260424.g3Q4OA03006493@hiauly1.hia.nrc.ca>

> 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))
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-04-26 18:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-26  6:33 FIX was [Fwd: gcc 3.1 hppa failures] Joel Sherrill
2002-04-26  6:36 ` David S. Miller
2002-04-26 11:46 ` law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).