aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/bfin/bfin.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/bfin/bfin.h')
-rw-r--r--gcc/config/bfin/bfin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h
index 8efcb5e..6f2d16c 100644
--- a/gcc/config/bfin/bfin.h
+++ b/gcc/config/bfin/bfin.h
@@ -121,7 +121,7 @@ extern int target_flags;
if (bfin_si_revision != -1) \
{ \
/* space of 0xnnnn and a NUL */ \
- char *buf = alloca (7); \
+ char *buf = XALLOCAVEC (char, 7); \
\
sprintf (buf, "0x%04x", bfin_si_revision); \
builtin_define_with_value ("__SILICON_REVISION__", buf, 0); \