aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree.cc')
-rw-r--r--gcc/tree.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree.cc b/gcc/tree.cc
index 7ce4f24..dfcdf68 100644
--- a/gcc/tree.cc
+++ b/gcc/tree.cc
@@ -2311,10 +2311,11 @@ build_constructor_va (tree type, int nelts, ...)
/* Return a node of type TYPE for which TREE_CLOBBER_P is true. */
tree
-build_clobber (tree type)
+build_clobber (tree type, enum clobber_kind kind)
{
tree clobber = build_constructor (type, NULL);
TREE_THIS_VOLATILE (clobber) = true;
+ CLOBBER_KIND (clobber) = kind;
return clobber;
}