aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-04-30 04:58:43 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2015-04-30 02:58:43 +0000
commitfd2bbdfd97b5af9b848f79eceb55d2dc60c823c5 (patch)
tree139ab537d9506c6cd6b72a695757ad2b65e7ceda
parentb0845a1e51f8c1f3e9e02049a2407321e22ad0b9 (diff)
downloadgcc-fd2bbdfd97b5af9b848f79eceb55d2dc60c823c5.zip
gcc-fd2bbdfd97b5af9b848f79eceb55d2dc60c823c5.tar.gz
gcc-fd2bbdfd97b5af9b848f79eceb55d2dc60c823c5.tar.bz2
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
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/tree.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9dae922..bc06c7b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2015-04-29 Jan Hubicka <hubicka@ucw.cz>
+ * tree.c (build_common_builtin_nodes): Do not build
+ __builtin_alloca_with_align as equivalent of library alloca.
+
+2015-04-29 Jan Hubicka <hubicka@ucw.cz>
+
* dwarf2out.c (gen_type_die_with_usage): Call verify_type.
* ipa-chkp.c (chkp_copy_function_type_adding_bounds): Do not produce
bugus variants.
diff --git a/gcc/tree.c b/gcc/tree.c
index a597d52..31a275e 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. */