pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the portable runtime...
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Fri, 26 Apr 2002 18:58:16 +0000 (18:58 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 26 Apr 2002 18:58:16 +0000 (18:58 +0000)
* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
portable runtime model.

From-SVN: r52800

gcc/ChangeLog
gcc/config/pa/pa.h

index 8b23b5f8ca4cf41069318c3c49f07e4cd67ca300..c87842e72e517e2c3e232fd49488f542c5f2297c 100644 (file)
@@ -1,3 +1,8 @@
+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.
+
 2002-04-26  Richard Henderson  <rth@redhat.com>
 
         * c-parse.in (yyoverflow): Revert.
index 0fd97eefc2e0b4a01769eae51382adeb537602c1..d1d37739532da936c06fcc2dd29745a02ccb9818 100644 (file)
@@ -1981,6 +1981,7 @@ while (0)
    will never return.  */
 #define FUNCTION_OK_FOR_SIBCALL(DECL) \
   (DECL \
+   && ! TARGET_PORTABLE_RUNTIME \
    && ! TARGET_64BIT \
    && ! TREE_PUBLIC (DECL))