From: Rainer Orth Date: Tue, 28 May 2019 13:37:15 +0000 (+0000) Subject: Remove obsolete comment about use_thunk X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b4e7143550cd1f3f4b1dca005a5e656506979d9;p=gcc.git Remove obsolete comment about use_thunk * config/alpha/alpha.c [TARGET_ABI_OSF] (alpha_output_mi_thunk_osf): Remove obsolete use_thunk reference. * config/i386/i386.c (x86_output_mi_thunk): Likewise. * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. * config/nios2/nios2.c (nios2_asm_output_mi_thunk): Likewise. * config/or1k/or1k.c (or1k_output_mi_thunk): Likewise. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. * config/sh/sh.c (sh_output_mi_thunk): Likewise. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. * config/tilegx/tilegx.c (tilegx_output_mi_thunk): Likewise. * config/tilepro/tilepro.c (tilepro_asm_output_mi_thunk): Likewise. From-SVN: r271703 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1bbe8950e99..8065ee2675e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +2019-05-28 Rainer Orth + + * config/alpha/alpha.c [TARGET_ABI_OSF] (alpha_output_mi_thunk_osf): + Remove obsolete use_thunk reference. + * config/i386/i386.c (x86_output_mi_thunk): Likewise. + * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. + * config/nios2/nios2.c (nios2_asm_output_mi_thunk): Likewise. + * config/or1k/or1k.c (or1k_output_mi_thunk): Likewise. + * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. + * config/sh/sh.c (sh_output_mi_thunk): Likewise. + * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. + * config/tilegx/tilegx.c (tilegx_output_mi_thunk): Likewise. + * config/tilepro/tilepro.c (tilepro_asm_output_mi_thunk): Likewise. + 2019-05-28 Nathan Sidwell * tree.h (IDENTIFIER_ANON_P): New. diff --git a/gcc/config/alpha/alpha.c b/gcc/config/alpha/alpha.c index 5cf8d486435..2e1de397e93 100644 --- a/gcc/config/alpha/alpha.c +++ b/gcc/config/alpha/alpha.c @@ -8514,8 +8514,7 @@ alpha_output_mi_thunk_osf (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 72e59417fdf..2eddea56b2e 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -19972,8 +19972,7 @@ x86_output_mi_thunk (FILE *file, tree thunk_fndecl, HOST_WIDE_INT delta, } emit_barrier (); - /* Emit just enough of rest_of_compilation to get the insns emitted. - Note that use_thunk calls assemble_start_function et al. */ + /* Emit just enough of rest_of_compilation to get the insns emitted. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/ia64/ia64.c b/gcc/config/ia64/ia64.c index e4dcd34767d..a2a6c5cffa1 100644 --- a/gcc/config/ia64/ia64.c +++ b/gcc/config/ia64/ia64.c @@ -11033,8 +11033,7 @@ ia64_output_mi_thunk (FILE *file, tree thunk ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ emit_all_insn_group_barriers (NULL); insn = get_insns (); diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index 541e51450d8..250c6ac4b08 100644 --- a/gcc/config/nios2/nios2.c +++ b/gcc/config/nios2/nios2.c @@ -4519,8 +4519,7 @@ nios2_asm_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/or1k/or1k.c b/gcc/config/or1k/or1k.c index 5e79b306a62..54c9e804ea5 100644 --- a/gcc/config/or1k/or1k.c +++ b/gcc/config/or1k/or1k.c @@ -2112,8 +2112,7 @@ or1k_output_mi_thunk (FILE *file, tree thunk_fndecl, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 3d5cf9e4ece..5e861f21bb0 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -29296,8 +29296,7 @@ rs6000_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index b7153075fa2..07d5b3c1df5 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -10940,8 +10940,7 @@ sh_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, emit_barrier (); /* Run just enough of rest_of_compilation to do scheduling and get - the insns emitted. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + the insns emitted. */ insns = get_insns (); diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index cba3a568091..6d52f83d91c 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -12462,8 +12462,7 @@ sparc_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. */ + instruction scheduling worth while. */ insn = get_insns (); shorten_branches (insn); assemble_start_function (thunk_fndecl, fnname); diff --git a/gcc/config/tilegx/tilegx.c b/gcc/config/tilegx/tilegx.c index 513c81cb8ba..6da91390b18 100644 --- a/gcc/config/tilegx/tilegx.c +++ b/gcc/config/tilegx/tilegx.c @@ -4993,8 +4993,7 @@ tilegx_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. + instruction scheduling worth while. We don't currently bundle, but the instruciton sequence is all serial except for the tail call, so we're only wasting one cycle. diff --git a/gcc/config/tilepro/tilepro.c b/gcc/config/tilepro/tilepro.c index 7e249022c30..f86461f07d4 100644 --- a/gcc/config/tilepro/tilepro.c +++ b/gcc/config/tilepro/tilepro.c @@ -4416,8 +4416,7 @@ tilepro_asm_output_mi_thunk (FILE *file, tree thunk_fndecl ATTRIBUTE_UNUSED, /* Run just enough of rest_of_compilation to get the insns emitted. There's not really enough bulk here to make other passes such as - instruction scheduling worth while. Note that use_thunk calls - assemble_start_function and assemble_end_function. + instruction scheduling worth while. We don't currently bundle, but the instruciton sequence is all serial except for the tail call, so we're only wasting one cycle.