(FRAME_POINTER_REQUIRED): Require a frame pointer if fn calls setjmp.
authorRichard Stallman <rms@gnu.org>
Wed, 13 Oct 1993 19:59:57 +0000 (19:59 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 13 Oct 1993 19:59:57 +0000 (19:59 +0000)
From-SVN: r5777

gcc/config/ns32k/pc532.h

index b6cc01a..baa9474 100644 (file)
@@ -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