tsystem.h (alloca): Provide a default definition.
* 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
This commit is contained in:
parent
d3907cc356
commit
2c82eecc78
|
@ -1,3 +1,11 @@
|
|||
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
|
||||
|
|
|
@ -117,4 +117,8 @@ extern int errno;
|
|||
#define NULL 0
|
||||
#endif
|
||||
|
||||
/* GCC always provides __builtin_alloca(x). */
|
||||
#undef alloca
|
||||
#define alloca(x) __builtin_alloca(x)
|
||||
|
||||
#endif /* ! GCC_TSYSTEM_H */
|
||||
|
|
|
@ -840,7 +840,7 @@ execute_cfa_program (const unsigned char *insn_ptr,
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue