diff options
author | Martin Jambor <mjambor@suse.cz> | 2013-05-15 12:39:28 +0200 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2013-05-15 12:39:28 +0200 |
commit | 48b1474efb32b90b45e4d824f5c670e24e059f0c (patch) | |
tree | 6b4472d8eb1289a2e5d764132d9e64216728b539 /gcc/ipa-inline-transform.c | |
parent | 9de04252a07c04a9676de3c8606b0a29e66a23ce (diff) | |
download | gcc-48b1474efb32b90b45e4d824f5c670e24e059f0c.zip gcc-48b1474efb32b90b45e4d824f5c670e24e059f0c.tar.gz gcc-48b1474efb32b90b45e4d824f5c670e24e059f0c.tar.bz2 |
ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to non-functions to builtin_unreachable.
2013-05-15 Martin Jambor <mjambor@suse.cz>
* ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to
non-functions to builtin_unreachable.
* ipa-inline-transform.c (inline_call): Do not assert estimates were
correct when new direct edges were discovered.
From-SVN: r198926
Diffstat (limited to 'gcc/ipa-inline-transform.c')
-rw-r--r-- | gcc/ipa-inline-transform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline-transform.c b/gcc/ipa-inline-transform.c index cac20fe..cb819d7 100644 --- a/gcc/ipa-inline-transform.c +++ b/gcc/ipa-inline-transform.c @@ -260,7 +260,7 @@ inline_call (struct cgraph_edge *e, bool update_original, #ifdef ENABLE_CHECKING /* Verify that estimated growth match real growth. Allow off-by-one error due to INLINE_SIZE_SCALE roudoff errors. */ - gcc_assert (!update_overall_summary || !overall_size + gcc_assert (!update_overall_summary || !overall_size || new_edges_found || abs (estimated_growth - (new_size - old_size)) <= 1 /* FIXME: a hack. Edges with false predicate are accounted wrong, we should remove them from callgraph. */ |