From fd2bbdfd97b5af9b848f79eceb55d2dc60c823c5 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 30 Apr 2015 04:58:43 +0200 Subject: [PATCH] tree.c (build_common_builtin_nodes): Do not build __builtin_alloca_with_align as equivalent of library alloca. * tree.c (build_common_builtin_nodes): Do not build __builtin_alloca_with_align as equivalent of library alloca. From-SVN: r222607 --- gcc/ChangeLog | 5 +++++ gcc/tree.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9dae922f5fc..bc06c7bb9d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-04-29 Jan Hubicka + + * tree.c (build_common_builtin_nodes): Do not build + __builtin_alloca_with_align as equivalent of library alloca. + 2015-04-29 Jan Hubicka * dwarf2out.c (gen_type_die_with_usage): Call verify_type. diff --git a/gcc/tree.c b/gcc/tree.c index a597d52ab7a..31a275e0589 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -10099,7 +10099,8 @@ build_common_builtin_nodes (void) ftype = build_function_type_list (ptr_type_node, size_type_node, size_type_node, NULL_TREE); local_define_builtin ("__builtin_alloca_with_align", ftype, - BUILT_IN_ALLOCA_WITH_ALIGN, "alloca", + BUILT_IN_ALLOCA_WITH_ALIGN, + "__builtin_alloca_with_align", ECF_MALLOC | ECF_NOTHROW | ECF_LEAF); /* If we're checking the stack, `alloca' can throw. */ -- 2.30.2