(DO_GLOBAL_CTORS_BODY): Call __builtin_alloca with a non-zero
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 14 Jun 1994 21:52:06 +0000 (17:52 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 14 Jun 1994 21:52:06 +0000 (17:52 -0400)
argument, forcing a frame pointer to be needed.

From-SVN: r7469

gcc/config/m88k/sysv3.h

index 8b3bf87..a65c7c2 100644 (file)
@@ -93,8 +93,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #undef DO_GLOBAL_CTORS_BODY
 #define DO_GLOBAL_CTORS_BODY                                           \
 do {                                                                   \
-  func_ptr *__CTOR_LIST__ = __builtin_alloca (0), *p;                  \
-  for (p = __CTOR_LIST__; *p; p += 4)                                  \
+  func_ptr *__CTOR_LIST__ = __builtin_alloca (1), *p;                  \
+  for (p = __CTOR_LIST__ + 4; *p; p += 4)                              \
     (*p) ();                                                           \
 } while (0)