aboutsummaryrefslogtreecommitdiff
path: root/gcc/unwind-dw2.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2004-09-20 22:23:12 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2004-09-20 22:23:12 +0000
commit2c82eecc7896f50079c2e333fa1d0f76afdbfabf (patch)
tree07874887eb4d66cb936b8de3cc879535c9be90f9 /gcc/unwind-dw2.c
parentd3907cc356db67b3596f502dff7aa6e19d9260f7 (diff)
downloadgcc-2c82eecc7896f50079c2e333fa1d0f76afdbfabf.zip
gcc-2c82eecc7896f50079c2e333fa1d0f76afdbfabf.tar.gz
gcc-2c82eecc7896f50079c2e333fa1d0f76afdbfabf.tar.bz2
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
Diffstat (limited to 'gcc/unwind-dw2.c')
-rw-r--r--gcc/unwind-dw2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/unwind-dw2.c b/gcc/unwind-dw2.c
index eb36e20..67b8d1c 100644
--- a/gcc/unwind-dw2.c
+++ b/gcc/unwind-dw2.c
@@ -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;