diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-09 13:38:53 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-09 13:38:53 +0000 |
commit | 1d9bda152887e5dd921101163fc61e3b2d1697e7 (patch) | |
tree | 1c6deb47345592978ce7e978006a25d2d548ac33 /gcc/tree-inline.c | |
parent | feff6fe6f01acf6e5e5f98c1ac2a32b80bb7da02 (diff) | |
download | gcc-1d9bda152887e5dd921101163fc61e3b2d1697e7.tar.gz |
middle-end/17128
* tree-inline.c (expand_call_inline): Make overactive sanity check happy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87238 138bc75d-0d04-0410-961f-82ee72b054a4
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 7a80528ecfc..6286f8ab380 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1463,7 +1463,7 @@ expand_call_inline (tree *tp, int *walk_subtrees, void *data) where previous inlining turned indirect call into direct call by constant propagating arguments. In all other cases we hit a bug (incorrect node sharing is most common reason for missing edges. */ - gcc_assert (dest->needed); + gcc_assert (dest->needed || flag_unit_at_a_time); cgraph_create_edge (id->node, dest, t)->inline_failed = N_("originally indirect function call not considered for inlining"); goto egress; |