* tsystem.h (alloca): Provide a default definition.
Revert:
2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* unwind-dw2.c: Call __builtin_alloca, not alloca.
From-SVN: r87775
+2004-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * tsystem.h (alloca): Provide a default definition.
+
+ Revert:
+ 2001-08-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+ * unwind-dw2.c: Call __builtin_alloca, not alloca.
+
2004-09-20 Andrew Pinski <pinskia@physics.uc.edu>
PR tree-opt/17558
#define NULL 0
#endif
+/* GCC always provides __builtin_alloca(x). */
+#undef alloca
+#define alloca(x) __builtin_alloca(x)
+
#endif /* ! GCC_TSYSTEM_H */
unused_rs = unused_rs->prev;
}
else
- new_rs = __builtin_alloca (sizeof (struct frame_state_reg_info));
+ new_rs = alloca (sizeof (struct frame_state_reg_info));
*new_rs = fs->regs;
fs->regs.prev = new_rs;