summaryrefslogtreecommitdiffstats
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-31 14:05:12 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2005-10-31 14:05:12 +0000
commitd2acc292321be80eca9847a42b5099e8babb4932 (patch)
tree78d31b3f594a6a9ac15191e9e6a2680c659f8250 /gcc/tree-inline.c
parentf16957ce3ef25184ea87411be2075bf77a1a79e8 (diff)
downloadppe42-gcc-d2acc292321be80eca9847a42b5099e8babb4932.tar.gz
ppe42-gcc-d2acc292321be80eca9847a42b5099e8babb4932.zip
(setup_one_parameter): Add comment to last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106274 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index b17a5975dc4..270389bc265 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1159,6 +1159,9 @@ setup_one_parameter (inline_data *id, tree p, tree value, tree fn,
&& (!is_gimple_cast (rhs)
|| !is_gimple_val (TREE_OPERAND (rhs, 0))))
gimplify_stmt (&init_stmt);
+
+ /* If VAR represents a zero-sized variable, it's possible that the
+ assignment statment may result in no gimple statements. */
if (init_stmt)
bsi_insert_after (&bsi, init_stmt, BSI_NEW_STMT);
}
OpenPOWER on IntegriCloud