diff options
| author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-28 19:33:23 +0000 |
|---|---|---|
| committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-28 19:33:23 +0000 |
| commit | 6bf97f82d398475683e5bea8ae14906c30550cba (patch) | |
| tree | 4f329fdddb0353188ddf7618481f6dfb4b14591c /gcc/tree-inline.c | |
| parent | 371e6eb70bd40294b7f22f2d5eda50473498448b (diff) | |
| download | ppe42-gcc-6bf97f82d398475683e5bea8ae14906c30550cba.tar.gz ppe42-gcc-6bf97f82d398475683e5bea8ae14906c30550cba.zip | |
* c-decl.c (pop_scope): Move warning control into warning call.
(diagnose_mismatched_decls): Likewise.
(pushdecl): Likewise.
(start_decl): Likewise.
(grokparms): Likewise.
(start_function): Likewise.
(store_parm_decls_newstyle): Likewise.
(store_parm_decls_oldstyle): Likewise.
(finish_function): Likewise.
(declspecs_add_scspec): Likewise.
* c-format.c (decode_format_attr): Likewise.
(maybe_read_dollar_number): Likewise.
(avoid_dollar_number): Likewise.
(finish_dollar_format_checking): Likewise.
(check_format_info): Likewise.
(check_format_info_main): Likewise.
(check_format_types): Likewise.
(format_type_warning): Likewise.
* c-typeck.c (function_types_compatible_p): Likewise.
(build_array_ref): Likewise.
(convert_arguments): Likewise.
(build_c_cast): Likewise.
(store_init_value): Likewise.
(process_init_element): Likewise.
(c_start_case): Likewise.
* stor-layout.c (finalize_record_size): Likewise.
* tree-cfg.c (execute_warn_function_noreturn): Likewise.
* tree-inline.c (expand_call_inline): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101384 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-inline.c')
| -rw-r--r-- | gcc/tree-inline.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c index 665707056f6..16f61648c26 100644 --- a/gcc/tree-inline.c +++ b/gcc/tree-inline.c @@ -1973,8 +1973,9 @@ expand_call_inline (basic_block bb, tree stmt, tree *tp, void *data) /* Avoid warnings during early inline pass. */ && (!flag_unit_at_a_time || cgraph_global_info_ready)) { - warning (0, "%Jinlining failed in call to %qF: %s", fn, fn, reason); - warning (0, "called from here"); + warning (OPT_Winline, "%Jinlining failed in call to %qF: %s", + fn, fn, reason); + warning (OPT_Winline, "called from here"); } goto egress; } |

