OSDN Git Service

PR optimization/15242
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Feb 2005 10:03:15 +0000 (10:03 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 1 Feb 2005 10:03:15 +0000 (10:03 +0000)
commitb70a5a9907c43f800f43c9e925664f7593c1776a
tree87553ed6cbe3253976ee763b34f7a58ef2a27ed1
parentb1c49a118fe66e5798afe337b193b70e9c994108
PR optimization/15242
* params.def (PARAM_MAX_GOTO_DUPLICATION_INSNS): New param.
* basic-block.h (duplicate_computed_gotos): Add prototype.
* bb-reorder.c (duplicate_computed_gotos): New function to
duplicate sufficiently small blocks ending in a computed jump.
* passes.c (rest_of_compilation): Call duplicate_computed_gotos
if not optimizing for size.
* cfgcleanup.c (try_crossjump_bb): If not optimizing for size,
never do tail merging for blocks ending in a computed jump.
* doc/invoke.texi: Document the max-goto-duplication-insns param.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94531 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/basic-block.h
gcc/bb-reorder.c
gcc/cfgcleanup.c
gcc/doc/invoke.texi
gcc/params.def
gcc/passes.c