gcc/contrib
Thomas Schwinge eb4a3e6a9a Fix 'contrib/update-copyright.py': 'TypeError: exceptions must derive from BaseException'
Running 'contrib/update-copyright.py' currently fails:

    [...]
    Traceback (most recent call last):
      File "contrib/update-copyright.py", line 365, in update_copyright
        canon_form = self.canonicalise_years (dir, filename, filter, years)
      File "contrib/update-copyright.py", line 270, in canonicalise_years
        (min_year, max_year) = self.year_range (years)
      File "contrib/update-copyright.py", line 253, in year_range
        year_list = [self.parse_year (year)
      File "contrib/update-copyright.py", line 253, in <listcomp>
        year_list = [self.parse_year (year)
      File "contrib/update-copyright.py", line 250, in parse_year
        raise self.BadYear (string)
    TypeError: exceptions must derive from BaseException

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "contrib/update-copyright.py", line 796, in <module>
        GCCCmdLine().main()
      File "contrib/update-copyright.py", line 527, in main
        self.copyright.process_tree (dir, filter)
      File "contrib/update-copyright.py", line 458, in process_tree
        self.process_file (dir, filename, filter)
      File "contrib/update-copyright.py", line 421, in process_file
        res = self.update_copyright (dir, filename, filter,
      File "contrib/update-copyright.py", line 366, in update_copyright
        except self.BadYear as e:
    TypeError: catching classes that do not inherit from BaseException is not allowed

Fix up for commit 3b25e83536
"Port update-copyright.py to Python3".

	contrib/
	* update-copyright.py (class BadYear): Derive from 'Exception'.
2021-11-08 11:48:26 +01:00
..
gcc-changelog Add -v option for git_check_commit.py. 2021-11-04 15:01:52 +01:00
header-tools Remove Cell Broadband Engine SPU targets 2019-09-03 15:08:28 +00:00
legacy Move 2 mklog scripts to legacy subfolder. 2020-05-19 11:39:58 +02:00
reghunt Remove svn:executable property from a couple of text files 2019-01-12 01:20:04 +01:00
regression
testsuite-management contrib: testsuite-management: Update to be python3 compatible 2021-11-05 16:38:03 +01:00
unicode contrib: add unicode/utf8-dump.py 2021-11-01 11:52:28 -04:00
vim-gcc-dev contrib/vimrc: override formatting options for more files 2019-09-02 15:30:02 +03:00
analyze_brprob_spec.py Compare predictor values with these defined in predict.def. 2017-05-30 07:16:31 +00:00
analyze_brprob.py Fix usage of analyze_brprob.py script. 2018-01-19 12:03:24 +00:00
bench-stringop Add new micro-benchmark for string operations. 2019-06-19 07:24:02 +00:00
ChangeLog Daily bump. 2021-11-06 00:16:24 +00:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
ChangeLog.tree-ssa
check_GNU_style_lib.py Detect mixed usage of spaces and tabs. 2018-11-19 08:08:28 +00:00
check_GNU_style.py check_GNU_style.py: Read stdin if file argument is '-' 2017-05-29 07:31:02 +00:00
check_GNU_style.sh [check_GNU_style.sh] More aggressively ignore dg-xxx directives 2016-10-24 11:23:36 +00:00
check_makefile_deps.sh Update Copyright years for files modified in 2011 and/or 2012. 2013-01-04 13:49:55 +01:00
check_warning_flags.sh
check-internal-format-escaping.py Fix flake8 errors. 2021-11-02 10:27:27 +01:00
check-params-in-docs.py Document missing params. 2020-12-04 09:38:04 +01:00
clang-format Autodetect C++ dialect in use for clang-format 2020-09-17 15:22:33 -06:00
compare_tests [contrib] compare_tests: Print number of tests 2018-07-12 20:18:41 +02:00
compare_two_ftime_report_sets Add a contrib script for comparing the performance of two sets of 2012-11-07 00:36:04 +00:00
compare-all-tests Remove Cell Broadband Engine SPU targets 2019-09-03 15:08:28 +00:00
compare-debug revamp dump and aux output names 2020-05-26 04:30:15 -03:00
compare-lto Fix LTO bootstrap on Windows 2021-01-28 11:33:53 +01:00
compareSumTests3
config-list.mk Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11* 2021-09-20 11:25:18 +02:00
dg-cmp-results.sh dg-cmp-results: display NA->FAIL & NA->UNRESOLVED by default 2018-10-25 10:35:21 +00:00
dg-extract-results.py contrib: Handle GDB specific test result types 2020-05-15 11:19:15 +01:00
dg-extract-results.sh contrib: Handle GDB specific test result types 2020-05-15 11:19:15 +01:00
dglib.pm
download_prerequisites Fix PR 90142: contrib/download_prerequisites uses test == 2021-08-30 20:53:19 +00:00
filter_gcc_for_doxygen Doxygen: add default location for filters and output folder. 2017-06-28 07:52:46 +00:00
filter_knr2ansi.pl
filter_params.py Doxygen: transform ENUM_BITFIELD and comments starting with '/**'. 2017-05-31 14:08:36 +00:00
filter-clang-warnings.py contrib: filter out mmx.md file. 2021-10-02 13:30:54 +02:00
gcc_build
gcc_update gcc_update: use human readable name for revision string in gcc/REVISION 2021-09-06 15:34:39 +03:00
gcc-git-customization.sh commit-mklog: Add --co argument. 2021-08-18 10:36:35 +02:00
gcc.doxy Doxygen: add default location for filters and output folder. 2017-06-28 07:52:46 +00:00
gen_autofdo_event.py Update gen_autofdo_event.py and gcc-auto-profile. 2021-07-01 23:30:14 -07:00
gennews Update gennews for GCC 10 and GCC 11. 2021-04-27 11:02:27 +02:00
git-add-user-branch.sh contrib: Change 'remote' for personal branches and add branch creation script 2020-01-24 14:38:16 +00:00
git-add-vendor-branch.sh contrib: script to create a new vendor branch 2020-01-22 10:06:50 +00:00
git-backport.py gcc-changelog: fix combining of arguments. 2020-07-29 14:17:43 +02:00
git-commit-mklog.py commit-mklog: Add --co argument. 2021-08-18 10:36:35 +02:00
git-fetch-vendor.sh contrib: New remotes structure for vendor and personal refs 2020-01-20 10:37:29 +00:00
gthr_supp_vxw_5x.c
index-prop
jit-coverage-report.py Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
maintainers-verify.sh [contrib] Add contrib/maintainers-verify.sh 2018-07-13 09:33:40 +00:00
make_sunver.pl Make make_sunver.pl robust against non-C locales 2013-02-27 09:15:35 +00:00
make-obstacks-texi.pl make-obstacks-texi.pl: New. 2013-03-06 09:38:22 +01:00
mark_spam.py mark_spam.py: Mark as spam all comments done by a creator 2016-08-17 10:30:54 +00:00
mklog.py mklog: fix renaming with version 0.7.0. 2021-08-26 10:20:20 +02:00
paranoia.cc
patch_tester.sh patch_tester.sh (TESTLOGS): Remove $TARGET/libjava/testsuite/libjava.sum. 2017-01-23 07:24:15 +00:00
prepare_patch.sh
prepare-commit-msg contrib: add git-commit-mklog wrapper 2021-06-23 09:39:10 +02:00
prerequisites.md5 Update mpfr version to 3.1.6 2021-05-17 08:56:28 +02:00
prerequisites.sha512 Update mpfr version to 3.1.6 2021-05-17 08:56:28 +02:00
repro_fail repro_fail: filter out "-ignore SIGHUP" from the spawn lines 2013-05-21 14:43:16 +00:00
test_installed test_installed (--target=): New option. 2015-06-02 17:12:16 +00:00
test_mklog.py mklog: Handle correctly long lines. 2021-06-28 13:43:41 +02:00
test_recheck
test_summary test_summary: Do not escape "=". 2019-08-13 17:17:49 +02:00
texi2pod.pl substitute @tie{} with a space for the man pages 2021-03-19 10:03:02 +00:00
uninclude * uninclude: Fix third argument to gensub. 2016-01-19 22:00:17 +00:00
unused_functions.py contrib: unused_functions.py: Handle archives 2018-10-05 00:28:18 +02:00
update-copyright.py Fix 'contrib/update-copyright.py': 'TypeError: exceptions must derive from BaseException' 2021-11-08 11:48:26 +01:00
vimrc Limit fill-column to 79 2021-07-20 11:14:18 +01:00
warn_summary Respect TMPDIR in contrib scripts. 2018-02-19 08:03:17 +00:00