Skip to content
Snippets Groups Projects
  1. Jan 02, 2025
  2. Dec 04, 2024
    • Filip Kastl's avatar
      contrib: Fix 2 bugs in check-params-in-docs.py · 15f5972e
      Filip Kastl authored
      
      In my last patch for check-params-in-docs.py I accidentally
      1. left one occurence of the 'help_params' variable not renamed
      2. converted 'help_params' from a dict to a list
      
      These issues cause the script to error when encountering a parameter
      missing in docs.  This patch should fix these issues.
      
      contrib/ChangeLog:
      
      	* check-params-in-docs.py: 'params' -> 'help_params'.  Don't
      	convert 'help_params' to a list.
      
      Signed-off-by: default avatarFilip Kastl <fkastl@suse.cz>
      15f5972e
  3. Sep 18, 2024
    • Filip Kastl's avatar
      contrib: Set check-params-in-docs.py to skip tables of values of a param · 4b7e6d5f
      Filip Kastl authored
      
      Currently check-params-in-docs.py reports extra params being listed in
      invoke.texi.  However, those aren't actual params but items in a table of
      possible values of the aarch64-autove-preference param.
      
      This patch changes check-params-in-docs.py to ignore similar tables.
      
      contrib/ChangeLog:
      
      	* check-params-in-docs.py: Skip tables of values of a param.
      	Remove code that skips items beginning with a number.
      
      Signed-off-by: default avatarFilip Kastl <fkastl@suse.cz>
      4b7e6d5f
  4. Apr 12, 2024
    • Filip Kastl's avatar
      contrib/check-params-in-docs.py: Ignore target-specific params · e30e760b
      Filip Kastl authored
      
      contrib/check-params-in-docs.py is a script that checks that all options
      reported with gcc --help=params are in gcc/doc/invoke.texi and vice
      versa.
      gcc/doc/invoke.texi lists target-specific params but gcc --help=params
      doesn't.  This meant that the script would mistakenly complain about
      parms missing from --help=params.  Previously, the script was just set
      to ignore aarch64 and gcn params which solved this issue only for x86.
      This patch sets the script to ignore all target-specific params.
      
      contrib/ChangeLog:
      
      	* check-params-in-docs.py: Ignore target specific params.
      
      Signed-off-by: default avatarFilip Kastl <fkastl@suse.cz>
      e30e760b
  5. Apr 11, 2024
    • Martin Jambor's avatar
      contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factor · 33f83d3c
      Martin Jambor authored
      contrib/check-params-in-docs.py is a script that checks that all
      options reported with ./gcc/xgcc -Bgcc --help=param are in
      gcc/doc/invoke.texi and vice versa.
      gcn-preferred-vectorization-factor is in the manual but normally not
      reported by --help, probably because I do not have gcn offload
      configured.  This patch makes the script silently about this particular
      fact.
      
      contrib/ChangeLog:
      
      2024-04-11  Martin Jambor  <mjambor@suse.cz>
      
      	* check-params-in-docs.py (ignored): Add
      	gcn-preferred-vectorization-factor.
      33f83d3c
  6. Jan 05, 2024
    • Jonathan Wakely's avatar
      contrib: Remove C-style comments from Python files · 29abd09a
      Jonathan Wakely authored
      These Python scripts have "*/" at the end of the license header comment
      blocks, presumably copy&pasted from C files.
      
      contrib/ChangeLog:
      
      	* analyze_brprob.py: Remove stray text at end of comment.
      	* analyze_brprob_spec.py: Likewise.
      	* check-params-in-docs.py: Likewise.
      	* check_GNU_style.py: Likewise.
      	* check_GNU_style_lib.py: Likewise.
      	* filter-clang-warnings.py: Likewise.
      	* gcc-changelog/git_check_commit.py: Likewise.
      	* gcc-changelog/git_commit.py: Likewise.
      	* gcc-changelog/git_email.py: Likewise.
      	* gcc-changelog/git_repository.py: Likewise.
      	* gcc-changelog/git_update_version.py: Likewise.
      	* gcc-changelog/test_email.py: Likewise.
      	* gen_autofdo_event.py: Likewise.
      	* mark_spam.py: Likewise.
      	* unicode/gen-box-drawing-chars.py: Likewise.
      	* unicode/gen-combining-chars.py: Likewise.
      	* unicode/gen-printable-chars.py: Likewise.
      	* unicode/gen_wcwidth.py: Likewise.
      29abd09a
  7. Jan 03, 2024
  8. Jan 16, 2023
  9. Dec 14, 2022
    • Martin Liska's avatar
      contrib: add copyright for my scripts · 81f86cb9
      Martin Liska authored
      contrib/ChangeLog:
      
      	* analyze_brprob.py: Add copyright header.
      	* analyze_brprob_spec.py: Likewise.
      	* check-params-in-docs.py: Likewise.
      	* check_GNU_style.py: Likewise.
      	* check_GNU_style_lib.py: Likewise.
      	* filter-clang-warnings.py: Likewise.
      	* gcc-changelog/git_check_commit.py: Likewise.
      	* gcc-changelog/git_commit.py: Likewise.
      	* gcc-changelog/git_email.py: Likewise.
      	* gcc-changelog/git_repository.py: Likewise.
      	* gcc-changelog/git_update_version.py: Likewise.
      	* gcc-changelog/test_email.py: Likewise.
      	* mark_spam.py: Likewise.
      81f86cb9
  10. Nov 23, 2021
  11. Dec 04, 2020
    • Martin Liska's avatar
      Document missing params. · 9199da4b
      Martin Liska authored
      contrib/ChangeLog:
      
      	* check-params-in-docs.py: use flake8 and add some
      	tweaks to ignore aarch64 params.
      
      gcc/ChangeLog:
      
      	* doc/invoke.texi: Add missing params.
      9199da4b
  12. May 28, 2020
  13. Mar 06, 2019
  14. Sep 25, 2018
Loading