projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a56b539
)
(setup_one_parameter): Add comment to last change.
author
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 31 Oct 2005 14:05:12 +0000
(09:05 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Mon, 31 Oct 2005 14:05:12 +0000
(09:05 -0500)
From-SVN: r106274
gcc/tree-inline.c
patch
|
blob
|
history
diff --git
a/gcc/tree-inline.c
b/gcc/tree-inline.c
index b17a5975dc480f5f5c2f538a74348e3048a92f58..270389bc26567f74eeb8140e06622d1481490444 100644
(file)
--- 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);
}