aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-13 19:59:57 +0000
committerRichard Stallman <rms@gnu.org>1993-10-13 19:59:57 +0000
commit038d9bc039abc2a684631dc13b1d4034fce743d7 (patch)
tree849ec6b5e66cbf3700f57019fe0ce6b49e35fcd8
parentb51ab0989fd0c215b4765503f2eae07bbc2db477 (diff)
downloadgcc-038d9bc039abc2a684631dc13b1d4034fce743d7.zip
gcc-038d9bc039abc2a684631dc13b1d4034fce743d7.tar.gz
gcc-038d9bc039abc2a684631dc13b1d4034fce743d7.tar.bz2
(FRAME_POINTER_REQUIRED): Require a frame pointer if fn calls setjmp.
From-SVN: r5777
-rw-r--r--gcc/config/ns32k/pc532.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/ns32k/pc532.h b/gcc/config/ns32k/pc532.h
index b6cc01a..baa9474 100644
--- a/gcc/config/ns32k/pc532.h
+++ b/gcc/config/ns32k/pc532.h
@@ -35,6 +35,11 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef PCC_STATIC_STRUCT_RETURN
+/* There's a bug in the setjmp implementation that strikes
+ if the caller of setjmp doesn't have a frame pointer. */
+#undef FRAME_POINTER_REQUIRED
+#define FRAME_POINTER_REQUIRED current_function_calls_setjmp
+
/* 32-bit alignment for efficiency */
#undef POINTER_BOUNDARY
#define POINTER_BOUNDARY 32