diff options
author | John David Anglin <dave@hiauly1.hia.nrc.ca> | 2002-04-26 18:58:16 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2002-04-26 18:58:16 +0000 |
commit | 5e56f90934bee3ddf51271c4246e0f3d331b203e (patch) | |
tree | 5ce72277b92041c514b90dc1303062d3d7d639e2 /gcc | |
parent | adf2e3e66812204d59827302ee9cddeeba2a2b64 (diff) | |
download | gcc-5e56f90934bee3ddf51271c4246e0f3d331b203e.zip gcc-5e56f90934bee3ddf51271c4246e0f3d331b203e.tar.gz gcc-5e56f90934bee3ddf51271c4246e0f3d331b203e.tar.bz2 |
pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the portable runtime model.
* pa.h (FUNCTION_OK_FOR_SIBCALL): Don't do sibcalls when using the
portable runtime model.
From-SVN: r52800
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/pa/pa.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8b23b5f..c87842e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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. diff --git a/gcc/config/pa/pa.h b/gcc/config/pa/pa.h index 0fd97ee..d1d3773 100644 --- a/gcc/config/pa/pa.h +++ b/gcc/config/pa/pa.h @@ -1981,6 +1981,7 @@ while (0) will never return. */ #define FUNCTION_OK_FOR_SIBCALL(DECL) \ (DECL \ + && ! TARGET_PORTABLE_RUNTIME \ && ! TARGET_64BIT \ && ! TREE_PUBLIC (DECL)) |