diff options
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r-- | gcc/tree-inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 17f3937..afba090 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -558,7 +558,7 @@ copy_body_r (tree *tp, int *walk_subtrees, void *data) STRIP_TYPE_NOPS (value); if (TREE_CONSTANT (value) || TREE_READONLY_DECL_P (value)) { - *tp = value; + *tp = build_empty_stmt (); return copy_body_r (tp, walk_subtrees, data); } } |