summaryrefslogtreecommitdiff
path: root/gcc/tree-object-size.c
diff options
context:
space:
mode:
authorvries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-07 12:49:49 +0000
committervries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-07 12:49:49 +0000
commit581bf1c292d1521c3a805c39e6dcca54a9a86b6d (patch)
tree274fa9d31e31f79687aa8785b52bbd7532b95632 /gcc/tree-object-size.c
parentf8e6666e4580a0fc0942b746f9242a5ef66170a5 (diff)
2011-10-07 Tom de Vries <tom@codesourcery.com>
PR middle-end/50527 * tree.c (build_common_builtin_nodes): Add local_define_builtin for * builtins.c (expand_builtin_alloca): Handle BUILT_IN_ALLOCA_WITH_ALIGN * tree-ssa-ccp.c (evaluate_stmt): Set align for * builtins.def (BUILT_IN_ALLOCA_WITH_ALIGN): Declare using * ipa-pure-const.c (special_builtin_state): Handle * tree-ssa-alias.c (ref_maybe_used_by_call_p_1) * function.c (gimplify_parameters): Lower vla to * gimplify.c (gimplify_vla_decl): Same. * cfgexpand.c (expand_call_stmt): Handle BUILT_IN_ALLOCA_WITH_ALIGN. * tree-mudflap.c (mf_xform_statements): Same. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary) * varasm.c (incorporeal_function_p): Same. * tree-object-size.c (alloc_object_size): Same. * gimple.c (gimple_build_call_from_tree): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179655 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-object-size.c')
-rw-r--r--gcc/tree-object-size.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-object-size.c b/gcc/tree-object-size.c
index 851bba914fab..2998fb59da05 100644
--- a/gcc/tree-object-size.c
+++ b/gcc/tree-object-size.c
@@ -411,6 +411,7 @@ alloc_object_size (const_gimple call, int object_size_type)
/* fall through */
case BUILT_IN_MALLOC:
case BUILT_IN_ALLOCA:
+ case BUILT_IN_ALLOCA_WITH_ALIGN:
arg1 = 0;
default:
break;