diff options
author | Jan Hubicka <jh@suse.cz> | 2011-04-29 23:21:46 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2011-04-29 21:21:46 +0000 |
commit | b15c64ee1aafcb68df59ecc46bd2c799d7618160 (patch) | |
tree | 4798ac9767856709586a6326e09b5dc53ae4cfff /gcc/ipa-inline.h | |
parent | 7097b0410ed48d3b7a5099e12fcec14b80f86910 (diff) | |
download | gcc-b15c64ee1aafcb68df59ecc46bd2c799d7618160.zip gcc-b15c64ee1aafcb68df59ecc46bd2c799d7618160.tar.gz gcc-b15c64ee1aafcb68df59ecc46bd2c799d7618160.tar.bz2 |
inline-10.c: New testcase.
* gcc.dg/tree-ssa/inline-10.c: New testcase.
* gcc.dg/tree-ssa/inline-9.c: Disable partial inlining.
* ipa-inline.h (clause_t): Turn into unsigned int.
* ipa-inline-analysis.c (add_clause): Do more simplification.
(and_predicates): Shortcut more cases.
(predicates_equal_p): Move forward; check that clauses are properly
ordered.
(or_predicates): Shortcut more cases.
(edge_execution_predicate): Rewrite as...
(set_cond_stmt_execution_predicate): ... this function; handle
__builtin_constant_p.
(set_switch_stmt_execution_predicate): New .
(compute_bb_predicates): New.
(will_be_nonconstant_predicate): Update TODO.
(estimate_function_body_sizes): Use compute_bb_predicates
and free them later, always try to estimate if stmt is constant.
(estimate_time_after_inlining, estimate_size_after_inlining):
Gracefully handle optimized out edges.
(read_predicate): Fix off by one error.
From-SVN: r173190
Diffstat (limited to 'gcc/ipa-inline.h')
-rw-r--r-- | gcc/ipa-inline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-inline.h b/gcc/ipa-inline.h index 8281d07..480a9fa 100644 --- a/gcc/ipa-inline.h +++ b/gcc/ipa-inline.h @@ -48,7 +48,7 @@ typedef VEC(condition,gc) *conditions; must be true in order for clause to be true. */ #define MAX_CLAUSES 8 -typedef int clause_t; +typedef unsigned int clause_t; struct GTY(()) predicate { clause_t clause[MAX_CLAUSES + 1]; |