This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Undocumented --param arguments


The --param arguments "max-delay-slot-insn-search" and
"max-delay-slot-live-search" appear to have been added to GCC without
documentation in invoke.texi.  All --param arguments ought to be
documented.

Other problems with --param documentation: the entry in --help output is
missing on the branch, notwithstanding the ChangeLog entry present on the
branch claiming it is present.  And, the documentation strings in
params.def are nowhere used, when they ought to be used for --help output.

The patches that added the undocumented options seem to be:

2001-02-23  Jeffrey Oldham  <oldham@codesourcery.com>

        * Makefile.in (resource.o): Add params.h dependence.
        * params.def (MAX_DELAY_SLOT_LIVE_SEARCH): New parameter.
        * params.h (MAX_DELAY_SLOT_LIVE_SEARCH): Likewise.
        * resource.c: Add dependence on params.h.
        (current_live_regs): Fix explanatory comment.
        (find_basic_block): Add new parameter to permit limiting search
        for a BARRIER.
        (mark_target_live_regs): Add new argument to find_basic_block call.
        (incr_ticks_for_insn): Likewise.

2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>

        * Makefile.in (reorg.o): Add params.h dependence.
        * params.def: Fix typographical error in comment.
        (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
        * params.h: Modify introductory comment.
        (MAX_DELAY_SLOT_INSN_SEARCH): New parameter.
        * reorg.c: Add dependence on params.h.
        (redundant_insn): Add parameterized throttle for search.
        (fill_simple_delay_slots): Add a comment explaining a variable.
        Move conditional out of loop, simplifying code.
        (fill_eager_delay_slots): Fix typographical error in comment.

The ChangeLog entry for the --param entry in --help:

2001-02-21  Jeffrey Oldham  <oldham@codesourcery.com>

        * gcc.c (cc1_options): Add "-param".
        (DEFAULT_WORD_SWITCH_TAKES_ARG): Likewise.
        (option_map): Likewise.
        * toplev.c (display_help): Add entry for "--param".
        (independent_decode_option): Fix typographical error.

-- 
Joseph S. Myers
jsm28@cam.ac.uk


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]