aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-inline.c
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@gcc.gnu.org>2005-07-12 22:06:49 +0000
committerJan Hubicka <hubicka@gcc.gnu.org>2005-07-12 22:06:49 +0000
commit7fac66d43ca6cae23140f6dc6be408d49f731d12 (patch)
tree14e86f3aaf1e0d285c00b18ab0dce26d5e8a46f6 /gcc/tree-inline.c
parenta2af50436f16c10f22f55188f9e429633c2532ec (diff)
downloadgcc-7fac66d43ca6cae23140f6dc6be408d49f731d12.zip
gcc-7fac66d43ca6cae23140f6dc6be408d49f731d12.tar.gz
gcc-7fac66d43ca6cae23140f6dc6be408d49f731d12.tar.bz2
tree-ssa-operands.c (parse_ssa_operands): Fix formatting.
* tree-ssa-operands.c (parse_ssa_operands): Fix formatting. (get_expr_operands): Fix thinko wrt flags and subvars. From-SVN: r101947
Diffstat (limited to 'gcc/tree-inline.c')
-rw-r--r--gcc/tree-inline.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c
index ca00892..fe70751 100644
--- a/gcc/tree-inline.c
+++ b/gcc/tree-inline.c
@@ -1966,7 +1966,9 @@ expand_call_inline (basic_block bb, tree stmt, tree *tp, void *data)
inlining. */
if (!cgraph_inline_p (cg_edge, &reason))
{
- if (lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn)))
+ if (lookup_attribute ("always_inline", DECL_ATTRIBUTES (fn))
+ /* Avoid warnings during early inline pass. */
+ && (!flag_unit_at_a_time || cgraph_global_info_ready))
{
sorry ("inlining failed in call to %q+F: %s", fn, reason);
sorry ("called from here");