summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Update GMP/MPFR/MPC/ISL version in contrib/download_prerequisitesTobias Burnus2021-11-243-14/+14
| | | | | | | | contrib/ * download_prerequisites: Update to gmp-6.2.1, mpfr-4.1.0, mpc-1.2.1 and isl-0.24. * prerequisites.md5: Update hash. * prerequisites.sha512: Likewise.
* Daily bump.GCC Administrator2021-11-241-0/+10
|
* contrib: filter out -Wc++20-extensionsMartin Liska2021-11-231-1/+1
| | | | | | | contrib/ChangeLog: * filter-clang-warnings.py: Filter -Wc++20-extensions as it does not respect proper attribute detection.
* contrib: Support itemx in check-params-in-docs.py.Martin Liska2021-11-231-10/+12
| | | | | | | contrib/ChangeLog: * check-params-in-docs.py: Support @itemx in param documentation and support multi-line documentation for parameters.
* Daily bump.GCC Administrator2021-11-091-0/+4
|
* Fix 'contrib/update-copyright.py': 'TypeError: exceptions must derive from ↵Thomas Schwinge2021-11-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 3b25e83536bcd1b2977659a2c6d9f0f9bf2a3152 "Port update-copyright.py to Python3". contrib/ * update-copyright.py (class BadYear): Derive from 'Exception'.
* Daily bump.GCC Administrator2021-11-061-0/+4
|
* contrib: testsuite-management: Update to be python3 compatibleBernhard Reutner-Fischer2021-11-051-24/+20
| | | | | | contrib/ChangeLog: * testsuite-management/validate_failures.py: 2to3
* Daily bump.GCC Administrator2021-11-051-0/+6
|
* Add -v option for git_check_commit.py.Martin Liska2021-11-042-2/+9
| | | | | | | | | | | | | | | | | | | Doing so, one can see: $ git gcc-verify a50914d2111c72d2cd5cb8cf474133f4f85a25f6 -v Checking a50914d2111c72d2cd5cb8cf474133f4f85a25f6: FAILED ERR: unchanged file mentioned in a ChangeLog: "gcc/common.opt" ERR: unchanged file mentioned in a ChangeLog (did you mean "gcc/testsuite/g++.dg/pr102955.C"?): "gcc/testsuite/gcc.dg/pr102955.c" - gcc/testsuite/gcc.dg/pr102955.c ? ^^ ^ + gcc/testsuite/g++.dg/pr102955.C ? ^^ ^ contrib/ChangeLog: * gcc-changelog/git_check_commit.py: Add -v option. * gcc-changelog/git_commit.py: Print verbose diff for wrong filename.
* Daily bump.GCC Administrator2021-11-031-0/+4
|
* Fix flake8 errors.Martin Liska2021-11-021-5/+5
| | | | | | contrib/ChangeLog: * check-internal-format-escaping.py: Fix flake8 errors.
* Daily bump.GCC Administrator2021-11-021-0/+4
|
* contrib: add unicode/utf8-dump.pyDavid Malcolm2021-11-011-0/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This script may be useful when debugging issues relating to Unicode encoding (e.g. when investigating source files with bidirectional control characters). It dumps a UTF-8 file as a list of numbered lines (mimicking GCC's diagnostic output format), interleaved with lines per character showing the Unicode codepoints, the UTF-8 encoding bytes, the name of the character, and, where printable, the characters themselves. The lines are printed in logical order, which may help the reader to grok the relationship between visual and logical ordering in bi-di files. For example: $ cat test.c int གྷ; const char *אבג = "ALEF-BET-GIMEL"; $ ./contrib/unicode/utf8-dump.py test.c 1 | int གྷ; | U+0069 0x69 LATIN SMALL LETTER I i | U+006E 0x6e LATIN SMALL LETTER N n | U+0074 0x74 LATIN SMALL LETTER T t | U+0020 0x20 SPACE (separator) | U+0F43 0xe0 0xbd 0x83 TIBETAN LETTER GHA གྷ | U+003B 0x3b SEMICOLON ; | U+000A 0x0a LINE FEED (LF) (control character) 2 | const char *אבג = "ALEF-BET-GIMEL"; | U+0063 0x63 LATIN SMALL LETTER C c | U+006F 0x6f LATIN SMALL LETTER O o | U+006E 0x6e LATIN SMALL LETTER N n | U+0073 0x73 LATIN SMALL LETTER S s | U+0074 0x74 LATIN SMALL LETTER T t | U+0020 0x20 SPACE (separator) | U+0063 0x63 LATIN SMALL LETTER C c | U+0068 0x68 LATIN SMALL LETTER H h | U+0061 0x61 LATIN SMALL LETTER A a | U+0072 0x72 LATIN SMALL LETTER R r | U+0020 0x20 SPACE (separator) | U+002A 0x2a ASTERISK * | U+05D0 0xd7 0x90 HEBREW LETTER ALEF א | U+05D1 0xd7 0x91 HEBREW LETTER BET ב | U+05D2 0xd7 0x92 HEBREW LETTER GIMEL ג | U+0020 0x20 SPACE (separator) | U+003D 0x3d EQUALS SIGN = | U+0020 0x20 SPACE (separator) | U+0022 0x22 QUOTATION MARK " | U+0041 0x41 LATIN CAPITAL LETTER A A | U+004C 0x4c LATIN CAPITAL LETTER L L | U+0045 0x45 LATIN CAPITAL LETTER E E | U+0046 0x46 LATIN CAPITAL LETTER F F | U+002D 0x2d HYPHEN-MINUS - | U+0042 0x42 LATIN CAPITAL LETTER B B | U+0045 0x45 LATIN CAPITAL LETTER E E | U+0054 0x54 LATIN CAPITAL LETTER T T | U+002D 0x2d HYPHEN-MINUS - | U+0047 0x47 LATIN CAPITAL LETTER G G | U+0049 0x49 LATIN CAPITAL LETTER I I | U+004D 0x4d LATIN CAPITAL LETTER M M | U+0045 0x45 LATIN CAPITAL LETTER E E | U+004C 0x4c LATIN CAPITAL LETTER L L | U+0022 0x22 QUOTATION MARK " | U+003B 0x3b SEMICOLON ; | U+000A 0x0a LINE FEED (LF) (control character) Tested with Python 3.8 contrib/ChangeLog: * unicode/utf8-dump.py: New file. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
* Daily bump.GCC Administrator2021-10-211-0/+4
|
* gcc-changelog: Add libffi/ to ignored_prefixesH.J. Lu2021-10-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Add libffi/ to ignored_prefixes for syncing with libffi upstream: commit c095f8f2e6f26bfc2ff8e3276c6af23ab153f5ff Author: H.J. Lu <hjl.tools@gmail.com> Date: Tue Aug 31 07:14:47 2021 -0700 libffi: Sync with libffi 3.4.2 Merged commit: f9ea41683444ebe11cfa45b05223899764df28fb to avoid remote: *** The following commit was rejected by your hooks.commit-extra-checker script (status: 1) remote: *** commit: c095f8f2e6f26bfc2ff8e3276c6af23ab153f5ff remote: *** ChangeLog format failed: remote: *** ERR: cannot find a ChangeLog location in message remote: *** remote: *** Please see: https://gcc.gnu.org/codingconventions.html#ChangeLogs remote: *** remote: error: hook declined to update refs/heads/master * gcc-changelog/git_commit.py (ignored_prefixes): Add libffi/.
* Daily bump.GCC Administrator2021-10-191-0/+6
|
* gcc-changelog: update error message locationMartin Liska2021-10-182-7/+8
| | | | | | | | contrib/ChangeLog: * gcc-changelog/git_commit.py: Update location of 'bad parentheses wrapping'. * gcc-changelog/test_email.py: Test it.
* Daily bump.GCC Administrator2021-10-031-0/+5
|
* contrib: filter out mmx.md file.Martin Liska2021-10-021-0/+1
| | | | | | | contrib/ChangeLog: * filter-clang-warnings.py: Filter out -Wtautological-compare for the file.
* Daily bump.GCC Administrator2021-09-211-0/+5
|
* Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*Richard Biener2021-09-201-2/+3
| | | | | | | | | | | | | | This obsoletes the 32bit hppa-hpux configurations which only support STABS as debuginfo format. 2021-09-20 Richard Biener <rguenther@suse.de> gcc/ * config.gcc: Obsolete hppa[12]*-*-hpux10* and hppa[12]*-*-hpux11*. contrib/ * config-list.mk: --enable-obsolete for hppa2.0-hpux10.1 and hppa2.0-hpux11.9.
* Daily bump.GCC Administrator2021-09-161-0/+18
|
* gcc-changelog: Add FIXME note.Martin Liska2021-09-151-0/+1
| | | | | | contrib/ChangeLog: * gcc-changelog/git_commit.py: Add FIXME note.
* gcc-changelog: check git commit email addressMartin Liska2021-09-153-0/+40
| | | | | | | | contrib/ChangeLog: * gcc-changelog/git_commit.py: Check commit email. * gcc-changelog/test_email.py: Add new test. * gcc-changelog/test_patches.txt: Likewise.
* Remove support for vax-openbsdRichard Biener2021-09-151-1/+1
| | | | | | | | | | | | | | This removes the support for vax-openbsd which has been discontinued after the OpenBSD 5.9 release and which has no supported gas or GNU ld configuration [anymore]. In particular this target does only support STABS debuginfo generation. 2021-09-13 Richard Biener <rguenther@suse.de> * config.gcc: Remove vax-*-openbsd* configuration. contrib/ * config-list.mk: Remove vax-openbsd.
* Remove m68k-openbsd supportRichard Biener2021-09-151-1/+1
| | | | | | | | | | | | | | | | This removes m68k-openbsd as a valid configuration, according to openbsd.org m68k-openbsd [on the mac] was discontinued after the 5.1 release. The configuration is also not (or no longer) supported by gas and GNU ld so I could not figure whether it is still a.out (I suspect it is). But first and foremost the target only supports STABS as a debugging format. 2021-09-13 Richard Biener <rguenther@suse.de> * config.gcc: Remove m68k-openbsd. contrib/ * config-list.mk: Remove m68k-openbsd.
* Daily bump.GCC Administrator2021-09-141-0/+9
|
* Remove m32r{,le}-*-linux* support from GCCAndrew Pinski2021-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | m32r support never made it to glibc and the support for the Linux kernel was removed with 4.18. It does not remove much but no reason to keep around a port which never worked or one which the support in other projects is gone. OK? Checked to make sure m32r-linux and m32rle-linux were rejected when building. contrib/ChangeLog: * config-list.mk: Remove m32r-linux and m32rle-linux from the list. gcc/ChangeLog: * config.gcc: Add m32r-*-linux* and m32rle-*-linux* to the Unsupported targets list. Remove support for m32r-*-linux* and m32rle-*-linux*. * config/m32r/linux.h: Removed. * config/m32r/t-linux: Removed. libgcc/ChangeLog: * config.host: Remove m32r-*-linux* and m32rle-*-linux*. * config/m32r/libgcc-glibc.ver: Removed. * config/m32r/t-linux: Removed.
* cr16-elf is now obsoletedJan-Benedict Glaw2021-09-131-1/+1
| | | | | | | | | As we are still building it for ./contrib/config-list.mk, let's add --enable-obsolete so this has a chance to work. contrib/ChangeLog: * config-list.mk (LIST): --enable-obsolete for cr16-elf.
* Daily bump.GCC Administrator2021-09-071-0/+6
|
* gcc_update: use human readable name for revision string in gcc/REVISIONSerge Belyshev2021-09-061-2/+17
| | | | | | | | contrib/Changelog: * gcc_update: Derive human readable name for HEAD using git describe like "git gcc-descr" with short commit hash. Drop "revision" from gcc/REVISION.
* Daily bump.GCC Administrator2021-08-311-0/+5
|
* Fix PR 90142: contrib/download_prerequisites uses test ==Andrew Pinski2021-08-301-1/+1
| | | | | | | | | | | | | | | Since == is not portable, it is better to use = in contrib/ download_prerequisites. The only place == was used is inside the function md5_check which is used only on Mac OS X. Tested on Mac OS X as: ./contrib/download_prerequisites --md5 Both with all files having the correct checksum and one with a broken one. contrib/ChangeLog: * download_prerequisites (md5_check): Replace == inside test with = to be more portable.
* Daily bump.GCC Administrator2021-08-271-0/+5
|
* mklog: fix renaming with version 0.7.0.Martin Liska2021-08-261-6/+17
| | | | | | | contrib/ChangeLog: * mklog.py: Use file.{source,target}_file for proper rename handling.
* Daily bump.GCC Administrator2021-08-251-0/+6
|
* Fix a few problems with download_prerequisites.Andrew Pinski2021-08-241-29/+30
| | | | | | | | | | | | | | | | | | There are a few problems with download_prerequisites are described in PR 82704. The first is on busy-box version of shasum and md5sum the extended option --check don't exist so just use -c. The second issue is the code for which shasum program to use is included twice and is different. So move which program to use for the checksum after argument parsing. The last issue is --md5 option has been broken for sometime now as the program is named md5sum and not just md5. Nobody updated switch table to be correct. contrib/ChangeLog: PR other/82704 * download_prerequisites: Fix issues with --md5 and --sha512 options.
* Daily bump.GCC Administrator2021-08-191-0/+6
|
* commit-mklog: Add --co argument.Martin Liska2021-08-183-2/+15
| | | | | | | | | | | The argument can be used for addition of Co-Authored-By lines with --trailer='Co-Authored-By=Mona Lisa Octocat <mona@github.com>'. contrib/ChangeLog: * gcc-git-customization.sh: Wrap $@ in quotes. * git-commit-mklog.py: Add new argument --co. * mklog.py: Skip the Co-Authored-By lines.
* Daily bump.GCC Administrator2021-08-111-0/+4
|
* mklog: support '-b c/101343' format.Martin Liska2021-08-101-1/+5
| | | | | | contrib/ChangeLog: * mklog.py: Support additional PRs without PR prefix.
* Daily bump.GCC Administrator2021-08-031-0/+5
|
* gcc-changelog: ignore one more commitMartin Liska2021-08-031-1/+2
| | | | | | | contrib/ChangeLog: * gcc-changelog/git_update_version.py: Ignore problematic commit.
* Daily bump.GCC Administrator2021-07-211-0/+4
|
* Limit fill-column to 79Richard Earnshaw2021-07-201-1/+1
| | | | | | | | | | | | | | | | | | | | The current line-length limit is set to 80, but that allows a character to appear in the 80th column, and that causes emacs to display a line-wrap followed by a blank line when the display/window width is 80 columns. Furthermore, this seems to contradict the coding-style rules on the wiki which suggest that the line limit should be 79. So reduce the line width in both the emacs control file and the contrib vimrc file to 79 characters. ChangeLog: * .dir-locals.el (c-mode): Change fill-column to 79. contrib/ChangeLog: * vimrc (textwidth): Change non-gitcommit length to 79.
* Daily bump.GCC Administrator2021-07-031-0/+4
|
* Update gen_autofdo_event.py and gcc-auto-profile.Eugene Rozenfeld2021-07-011-17/+37
| | | | | | | | | | | | | | | | | | | gen_autofdo_event.py was stumbling on models with stepping so I updated the script to handle this case similar to the code in https://github.com/andikleen/pmu-tools/blob/c6a5f63aede19def8886d6a8b74d7a55c38ca947/event_download.py The second change was to tolerate cases when the CPU supports PEBS but the perf command with /p fails. This can happen in, e.g., a virtual machine. I regenerated gcc-auto-profile using the updated script. contrib/ChangeLog: * gen_autofdo_event.py: handle stepping, non-working PEBS gcc/ChangeLog: * config/i386/gcc-auto-profile: regenerate
* Daily bump.GCC Administrator2021-06-291-0/+5
|
* mklog: Handle correctly long lines.Martin Liska2021-06-282-4/+43
| | | | | | | contrib/ChangeLog: * mklog.py: Handle correctly long lines. * test_mklog.py: Test it.