Commit Graph

979 Commits

Author SHA1 Message Date
David Edelsohn 0745b6fa66 aix: Remove AIX 6.1 support.
AIX 6.1 is past end of life and extended support.  This patch removes
the configuration option and references to AIX 6.1.

contrib/ChangeLog:

	* config-list.mk: Remove rs6000-ibm-aix6.1.
	Rename rs6000-ibm-aix7.1 to powerpc-ibm-aix7.1.
	Add powerpc-ibm-aix7.2.

gcc/ChangeLog:

	* config.gcc (powerpc-ibm-aix6.*): Remove.
	* config/rs6000/aix61.h: Delete.
2021-04-22 19:43:55 -04:00
GCC Administrator be8aad8d73 Daily bump. 2021-04-21 00:16:23 +00:00
Jakub Jelinek 919323c1a4 Update crontab and git_update_version.py
2021-04-20  Jakub Jelinek  <jakub@redhat.com>

maintainer-scripts/
	* crontab: Snapshots from trunk are now GCC 12 related.
	Add GCC 11 snapshots from the respective branch.
contrib/
	* gcc-changelog/git_update_version.py (active_refs): Add
	releases/gcc-11.
2021-04-20 10:50:22 +02:00
GCC Administrator 287ad814d7 Daily bump. 2021-04-13 00:16:21 +00:00
Martin Liska 1c35444b91 gcc-changelog: do not allow space in long line
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Do not allow space in long lines.
2021-04-12 14:11:27 +02:00
Martin Liska a694a02125 mklog: support long filenames
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Support long filenames
	in entries.
	* gcc-changelog/test_email.py: Test it.
	* gcc-changelog/test_patches.txt: Likewise.
2021-04-12 13:16:50 +02:00
GCC Administrator bf1f3168f4 Daily bump. 2021-03-24 00:16:25 +00:00
Martin Liska e54da1b6b3 mklog: fix test_mklog.py tests.
contrib/ChangeLog:

	* mklog.py: Fix broken tests.
2021-03-23 08:49:25 +01:00
GCC Administrator 8b744f46a2 Daily bump. 2021-03-23 00:16:25 +00:00
Martin Liska c38f679eeb mklog: add new argument --directory.
The argument is handy when one needs to generate ChangeLog entries
for a different project (e.g. binutils).

contrib/ChangeLog:

	* mklog.py: Add --directory argument.
2021-03-22 10:54:32 +01:00
GCC Administrator 5f256a70a0 Daily bump. 2021-03-20 00:16:24 +00:00
Matthias Klose 3b0155305e substitute @tie{} with a space for the man pages
contrib/

2021-03-19  Matthias Klose  <doko@ubuntu.com>

	* texi2pod.pl: Substitute @tie{} with a space for the man pages.
2021-03-19 10:03:02 +00:00
GCC Administrator 3c5b6d24e6 Daily bump. 2021-03-16 10:55:35 +00:00
Martin Liska 5f6a43d691 gcc-changelog: skip broken commit in git_update_version.py.
contrib/ChangeLog:

	* gcc-changelog/git_update_version.py: Skip one problematic
	commit.
2021-03-16 11:50:50 +01:00
GCC Administrator 6da2762a3b Daily bump. 2021-03-13 00:16:20 +00:00
Martin Liska a7ac3e92ec gcc-changelog: allow ChangeLog deletion in a commit
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Allow deletion of ChangeLog
	files.
	* gcc-changelog/setup.cfg: Set line limit to 120 characters.
	* gcc-changelog/test_email.py: Add test.
	* gcc-changelog/test_patches.txt: Likewise.
	* gcc-changelog/git_email.py: Fix parsing of deleted files.
2021-03-12 09:29:05 +01:00
GCC Administrator 2da7ce23cf Daily bump. 2021-02-09 00:16:30 +00:00
Mike Frysinger 432b9f610d mklog: automatically fill in generated entries
contrib/ChangeLog:

	* mklog.py (generated_files): New set.
	(generate_changelog): Add entries based on generated_files.
2021-02-08 11:52:30 -05:00
GCC Administrator 9faaa80776 Daily bump. 2021-02-04 00:16:32 +00:00
Aaron Sawdey 05c93a63a6 do not generate fusion.md, update contrib/gcc_update
In a previous fusion-combine patch for rs6000, Segher had asked me to
comment out the automatic regeneration of fusion.md. And more recently
Edelsohn pointed out that gcc_update needed to fix the timestamp of
fusion.md so it didn't get unnecessarily regenerated.

contrib/ChangeLog:

	* gcc_update (files_and_dependencies): Add dependency for
	gcc/config/rs6000/fusion.md on gcc/config/rs6000/genfusion.md.

gcc/ChangeLog:

	* config/rs6000/t-rs6000: Comment out auto generation of
	fusion.md for now.
2021-02-03 09:34:23 -06:00
GCC Administrator 85d04a2ecb Daily bump. 2021-01-29 00:16:21 +00:00
Eric Botcazou f7a6d314e7 Fix LTO bootstrap on Windows
The latest fix introduced a comparison of executables and this cannot
directly work on Windows because they are timestamped.  Moreover nobody
sets $(exeext) at top level, at least on MinGW, so you get weird behavior
because some tools add the implicit .exe suffix and others do not.

contrib/
	PR lto/85574
	* compare-lto: Deal with PE-COFF executables specifically.
2021-01-28 11:33:53 +01:00
GCC Administrator 5fff80fd79 Daily bump. 2021-01-15 00:16:28 +00:00
Martin Liska 236d6a33ca mklog: skip unsupported files
This fixes an infinite loop one could see for:
git show b87ec922c4 | ./contrib/mklog.py

contrib/ChangeLog:

	* mklog.py: Fix infinite loop for unsupported files.
2021-01-14 17:06:08 +01:00
GCC Administrator be0851b8e9 Daily bump. 2021-01-14 00:16:24 +00:00
Martin Liska 7d7ef413ef gcc-changelog: Support multiline parentheses wrapping
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Support wrapping of functions
	in parentheses that can take multiple lines.
	* gcc-changelog/test_email.py: Add tests for it.
	* gcc-changelog/test_patches.txt: Add 2 patches.
2021-01-13 17:22:34 +01:00
Martin Liska a2d04f3d2c mklog: support define_insn_and_split format
contrib/ChangeLog:

	* mklog.py: Parse also define_insn_and_split and similar
	directives in .md files.
	* test_mklog.py: Test.
2021-01-13 14:34:08 +01:00
Martin Liska c23aea6edc gcc-changelog: Allow modifications to old ChangeLogs without entry
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Allow modifications of older
	ChangeLog (or specific) files without need to make a ChangeLog
	entry.
	* gcc-changelog/test_email.py: Test it.
	* gcc-changelog/test_patches.txt: Add new patch.
2021-01-13 11:57:14 +01:00
GCC Administrator 67fbb7f0fd Daily bump. 2021-01-12 00:16:22 +00:00
Martin Liska 3b25e83536 Port update-copyright.py to Python3
contrib/ChangeLog:

	* update-copyright.py: Port to python3 by guessing encoding
	(first utf8, then iso8859). Add 2 more ignores: .png and .pyc.
2021-01-11 14:08:50 +01:00
GCC Administrator 942ae5be66 Daily bump. 2021-01-07 00:16:19 +00:00
Martin Liska 57706dd7e0 gcc-changelog: workaround for utf8 filenames
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Add decode_path function.
	* gcc-changelog/git_email.py: Use it in order to solve
	utf8 encoding filename issues.
	* gcc-changelog/git_repository.py: Likewise.
	* gcc-changelog/test_email.py: Test it.
2021-01-06 08:26:10 +01:00
GCC Administrator 7e73f51157 Daily bump. 2021-01-05 00:16:42 +00:00
Jakub Jelinek c00e2af363 Add AMD and Ulf Adams as external authors
* update-copyright.py: Add AMD and Ulf Adams as external authors.
2021-01-04 10:25:17 +01:00
Jakub Jelinek 2a680610d1 Fix up indentation in update-copyright.py
* update-copyright.py: Use 8 spaces instead of tab to indent.
2021-01-04 10:16:13 +01:00
Martin Liska cf76bbf8a8 mklog.py: add --update-copyright option
contrib/ChangeLog:

	* mklog.py: Add --update-copyright option which adds:
	"Update copyright years." to ChangeLog files belonging
	to a modified file.
2021-01-04 10:09:07 +01:00
Martin Liska 8869bd0efc gcc-changelog: Ignore copyright years commits.
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Skip Update copyright
	years commits.
2021-01-04 10:09:07 +01:00
GCC Administrator 1a5e728a54 Daily bump. 2020-12-22 00:16:23 +00:00
Martin Liska 1b021bbd85 gcc-changelog: new error for quoted utf8 filenames
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Add new error for quoted
	filenames.
	* gcc-changelog/test_email.py: Test it.
	* gcc-changelog/test_patches.txt: Test it.
2020-12-21 10:35:11 +01:00
Martin Liska 2ebe752658 gcc-changelog: add Unicode test-case
contrib/ChangeLog:

	* gcc-changelog/test_email.py: New test.
	* gcc-changelog/test_patches.txt: Likewise.
2020-12-21 10:21:25 +01:00
GCC Administrator cd69e3d5cd Daily bump. 2020-12-18 00:16:30 +00:00
Nathan Sidwell 096164229a bootstrap: Fix some windows issues [PR 98300]
When breaking out the sample server from the gcc/cp directory, it lost
its check for mmap, and the sample resolver just assumed it was there.
Fixed thusly.  The non-mapping paths in module.cc weren't (recently)
excercised, and led to a signedness warning.  Finally I'd missed
c++tools's config.h.in in the gcc_update script.  There I took the
opportunity of adding a 'tools' segment of the dependency lists.

	PR bootstrap/98300
	contrib/
	* gcc_update: Add c++tools/config.h.in.
	c++tools/
	* configure.ac: Check for sys/mman.h.
	* resolver.cc: Don't assume mmap, O_CLOEXEC are available.  Use
	xmalloc.
	* config.h.in: Regenerated.
	* configure: Regenerated.
	gcc/cp/
	* module.cc: Fix ::read, ::write result signedness comparisons.
2020-12-17 05:57:13 -08:00
GCC Administrator 6e9d865119 Daily bump. 2020-12-16 00:16:31 +00:00
Nathan Sidwell 3d5e3eb407 gcc_update update
I missed adding these two configure files.

	contrib/
	* gcc_update: Add c++tools & libcody.
2020-12-15 13:48:00 -08:00
Nathan Sidwell c5271279d6 Add toplevel dirs
contrib/
	* gcc-changelog/git_commit.py (changelog_locations): Add
	libcody, c++tools.
2020-12-15 09:51:50 -05:00
GCC Administrator f6e8e2797e Daily bump. 2020-12-09 00:16:50 +00:00
Martin Liska 5b17c3c605 contrib: filter more in filter-clang-warnings.py
contrib/ChangeLog:

	* filter-clang-warnings.py: Filter more cases.
2020-12-08 11:21:26 +01:00
Martin Liska 19c1ef85c3 contrib: modernize filter-clang-warnings.py
contrib/ChangeLog:

	* filter-clang-warnings.py: Modernize and filter 2 more
	patterns.
2020-12-08 11:07:25 +01:00
GCC Administrator c5fd8a9157 Daily bump. 2020-12-05 00:16:39 +00:00
Martin Liska 9199da4b59 Document missing params.
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.
2020-12-04 09:38:04 +01:00
GCC Administrator 11860cf440 Daily bump. 2020-12-03 00:16:47 +00:00
Jason Merrill 4ed34c60a8 git: Tell git send-email where to send patches.
I've been using

  git send-email --annotate --suppress-from --to=gcc-patches@gcc.gnu.org \
  ${@:-HEAD^} ':!*/ChangeLog' ':!*configure'

for sending most patches, but it occurs to me that it would be useful to put
the To: address in the configury.

If someone were feeling ambitious, they could write a script to analyze a
patch and add the relevant maintainers to To: or CC:.

contrib/ChangeLog:

	* gcc-git-customization.sh: Configure sendemail.to.
2020-12-02 14:41:02 -05:00
GCC Administrator 94358e4770 Daily bump. 2020-12-01 00:16:38 +00:00
Martin Liska 57cbb7acdb changelog: add hint for a file mismatch
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Suggest close file for
	'unchanged file mentioned in a ChangeLog' error.
	* gcc-changelog/test_email.py: Test it.
2020-11-30 17:19:41 +01:00
Martin Liska 1e5c644fb6 changelog: allow subdir wildcard entry
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Allow sub-directory wildcard
	changelog entry. Fix a typo caused by apostrophe escaping.
	* gcc-changelog/test_email.py: Test it.
	* gcc-changelog/test_patches.txt: Likewise.
2020-11-30 13:42:25 +01:00
Jonathan Wakely 08cd56a6b3 gcc-changelog: Add libstdc++-v3/testsuite to wildcard prefixes
This allows using "testsuite/*" in libstdc++-v3/ChangeLog entries, which
was one of the original motivations for adding wildcard support in the
first place:
https://gcc.gnu.org/pipermail/gcc/2020-June/232719.html

contrib/ChangeLog:

	* gcc-changelog/git_commit.py (wildcard_prefixes): Add libstdc++
	testsuite directory.
2020-11-30 11:41:03 +00:00
Martin Liska fbbce1c6e9 changelog: Allow wildcard pattern only.
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Allow wildcard pattern only.
2020-11-30 10:40:36 +01:00
GCC Administrator e87559d202 Daily bump. 2020-11-28 00:16:38 +00:00
Martin Liska b8ae0812ee changelog: allow flexible "cherry picked" format.
It handles the following:
(cherry picked from commit c0c7270cc4 (testsuite changes only))

contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Use regex for cherry pick prefix.
	* gcc-changelog/test_email.py: Test it.
	* gcc-changelog/test_patches.txt: Likewise.
2020-11-27 13:43:25 +01:00
GCC Administrator 1e2c9a2761 Daily bump. 2020-11-25 09:34:01 +00:00
Martin Liska d3e763efcb changelog: fix parsing of a revert commit
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Use revert_regex instead
	of string prefix.  Convert sets to literals.
2020-11-25 07:56:57 +01:00
GCC Administrator 29c5d9ceb9 Daily bump. 2020-11-17 00:16:27 +00:00
Martin Liska d6d9561c2e mklog: support unidiff 0.5.4
contrib/ChangeLog:

	* mklog.py: Do not call read on an input stream.
	Fix some flake8 issues.
2020-11-16 20:26:28 +01:00
GCC Administrator 2da7ee050c Daily bump. 2020-11-08 00:16:31 +00:00
Lewis Hyatt 497c9f8d4d libcpp: Update cpp_wcwidth() to Unicode 13.0.0
generated_cpp_wcwidth.h was regenerated using Unicode 13.0.0 data files. No
material changes to the parsing scripts (either GCC- or glibc-sourced) were
necessary; glibc's utf8_gen.py was tweaked slightly by glibc and matched here.

contrib/ChangeLog:

	* unicode/EastAsianWidth.txt: Update to Unicode 13.0.0.
	* unicode/PropList.txt: Likewise.
	* unicode/README: Likewise.
	* unicode/UnicodeData.txt: Likewise.
	* unicode/from_glibc/unicode_utils.py: Update to latest glibc version.
	* unicode/from_glibc/utf8_gen.py: Likewise.

libcpp/ChangeLog:

	* generated_cpp_wcwidth.h: Regenerated from Unicode 13.0.0 data.
2020-11-07 09:36:43 -05:00
GCC Administrator 44cab2d8fd Daily bump. 2020-11-07 00:16:39 +00:00
Martin Liska f176773bc2 gcc-changelog: prevent double cherry-pick line
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Add new check.
	* gcc-changelog/test_email.py: Test it.
	* gcc-changelog/test_patches.txt: Add new patch.
2020-11-06 13:33:41 +01:00
GCC Administrator 35c125cb6a Daily bump. 2020-11-05 00:16:36 +00:00
Martin Liska 10a50d261e gcc-changelog: Change parse_git_revisions strict argument to True.
Change the default that is used by GIT server hook and also
by git_update_version.py. Both should use True now.

contrib/ChangeLog:

	* gcc-changelog/git_repository.py: Set strict=True
	for parse_git_revisions as a default.
2020-11-04 11:01:58 +01:00
Tobias Burnus 619039de36 gcc-changelog/git_commit.py: Check for missing description
Especially when using mklog.py, it is simply to forget to fill in
the entries after the '\t* file.c (section):' or '\t(section):'.

contrib/ChangeLog:

	* gcc-changelog/git_commit.py (item_parenthesis_empty_regex,
	item_parenthesis_regex): Add.
	(check_for_empty_description): Use them.
	* gcc-changelog/test_email.py (test_emptry_entry_desc,
	test_emptry_entry_desc_2): Add.
	* gcc-changelog/test_patches.txt: Add two testcases for it.
2020-11-04 10:35:54 +01:00
GCC Administrator fd2325ea60 Daily bump. 2020-11-04 00:16:41 +00:00
Tobias Burnus 84ed8d2c88 gcc-changelog/git_email.py: Support older unidiff modules
contrib/ChangeLog:

	* gcc-changelog/git_email.py: Add unidiff_supports_renaming check.
2020-11-03 17:46:36 +01:00
Martin Liska 19859d6ba6 Add setup.cfg for pytest.
contrib/ChangeLog:

	* gcc-changelog/setup.cfg: New file.
2020-11-03 17:32:10 +01:00
GCC Administrator 88ce3d5fbb Daily bump. 2020-11-02 20:53:00 +00:00
Martin Liska 63d0da8852 gcc-changelog: Handle situations like '* tree-vect-slp.c (): '
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Handle empty groups in
	file description.
	* gcc-changelog/test_email.py: New test.
	* gcc-changelog/test_patches.txt: Likewise.
2020-10-30 11:24:49 +01:00
GCC Administrator 44135373fc Daily bump. 2020-09-22 00:16:31 +00:00
Tobias Burnus ed5ae55e93 mklog.py: Parse first 10 lines for PR/DR number
contrib/ChangeLog:

	* mklog.py: Parse first 10 lines for PR/DR number
	not only the first line.
2020-09-21 11:22:49 +02:00
GCC Administrator 2aad20c094 Daily bump. 2020-09-18 00:16:24 +00:00
Dimitrij Mojoski 172178c0c3 Autodetect C++ dialect in use for clang-format
PR other//97076
	* clang-format: Autodetect C++ standard in use rather than
	forcing C++03.
2020-09-17 15:22:33 -06:00
GCC Administrator 57ea089421 Daily bump. 2020-08-27 00:16:27 +00:00
Iain Buclaw 64c6042246 contrib: Add OPT-enable-obsolete to tile*-*-*
The tile*-*-* targets were marked as obsolete in SVN r259724.

contrib/ChangeLog:

	* config-list.mk (LIST): Add OPT-enable-obsolete to tilegx-linux-gnu,
	tilegxbe-linux-gnu, and tilepro-linux-gnu.
2020-08-26 10:03:56 +02:00
GCC Administrator bea7a39103 Daily bump. 2020-07-30 00:16:24 +00:00
Martin Liska 5175857714
gcc-changelog: fix combining of arguments.
contrib/ChangeLog:

2020-07-29  Martin Liska  <mliska@suse.cz>

	* git-backport.py: fix how are ChangeLog paths combined.
2020-07-29 14:17:43 +02:00
GCC Administrator 9bb403dca6 Daily bump. 2020-07-24 00:16:20 +00:00
Patrick Palka 914966e499 contrib/vimrc: detect more C-like files
Currently this script doesn't set the indentation style for the standard
library headers under libstdc++/ because they lack a file extension.
But they do have a modeline, so the file type is still set appropriately
by Vim.  So by inspecting &filetype, we can also detect these standard
library headers as C-like files.

contrib/ChangeLog:

	* vimrc (SetStyle): Also inspect &filetype to determine whether
	a file is C-like.
2020-07-23 13:34:00 -04:00
Martin Liska 02cada26e4
gcc-changelog: fix when somebody reverts a backport
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: When reverting a backport,
	we should print only Revert header.
2020-07-23 10:43:25 +02:00
GCC Administrator ab660b01c3 Daily bump. 2020-07-18 00:16:24 +00:00
Jonathan Wakely 0c1d1c0103 gcc-changelog: Fix typo in output
contrib/ChangeLog:

	* gcc-changelog/git_update_version.py: Fix typo.
2020-07-17 09:53:19 +01:00
GCC Administrator 865362954f Daily bump. 2020-07-11 00:16:31 +00:00
Mike Nolta def4c0b47e This is a harmless bug, as the script still works, but curl's '-O' option isn't the same as wget's.
contrib/ChangeLog:

	* download_prerequisites: Don't pass wget options to curl.
2020-07-10 14:06:23 -06:00
GCC Administrator f60ee68de3 Daily bump. 2020-07-08 00:16:40 +00:00
Alexandre Oliva a759bfc7cf
accept <case> and [cond] in ChangeLog
Only '(' and ':' currently terminate file lists in ChangeLog entries
in the ChangeLog parser.  This rules out such legitimate entries as:

* filename <CASE>:
* filename [COND]:

This patch extends the ChangeLog parser to recognize these forms.

for  contrib/ChangeLog

	* gcc-changelog/git_commit.py: Support CASE and COND.
	* gcc-changelog/test_patches.txt: Add test.
	* gcc-changelog/test_email.py: Add test.

Co-Authored-By: Martin Liska <mliska@suse.cz>
2020-07-07 09:05:10 +02:00
GCC Administrator 46fbb6c682 Daily bump. 2020-07-01 00:16:26 +00:00
Martin Liska e2c17dcb12
gcc-changelog: support older GitPython releases.
contrib/ChangeLog:

	* gcc-changelog/git_repository.py: Support older releases of
	GitPython when renamed_file was named renamed.
2020-06-30 17:45:36 +02:00
GCC Administrator 458f12eda1 Daily bump. 2020-06-30 09:02:21 +00:00
Martin Liska b05c4c2c5d
gcc-changelog: support 'This revert commit' prefix.
contrib/ChangeLog:

	* gcc-changelog/git_check_commit.py: Print revision
	of original_info.
	* gcc-changelog/git_commit.py: Support Revert commits.
2020-06-30 10:56:06 +02:00
Martin Liska de4676c923
gcc-changelog: come up with GitInfo wrapper.
contrib/ChangeLog:

	* gcc-changelog/git_check_commit.py: Use GitInfo
	* gcc-changelog/git_commit.py: Add GitInfo class.
	* gcc-changelog/git_email.py: Use GitInfo class.
	* gcc-changelog/git_repository.py: Likewise.
2020-06-30 10:56:05 +02:00
GCC Administrator 2e546c261b Daily bump. 2020-06-25 00:16:30 +00:00
Ilya Leoshkevich 796190e538 Make contrib/download_prerequisites work on AIX and OpenBSD
contrib/ChangeLog:

2020-06-11  Ilya Leoshkevich  <iii@linux.ibm.com>

	* download_prerequisites: Support AIX and OpenBSD unames.
	Pipe `{gzip,bzip2} -d` to `tar -xf -`.
2020-06-24 17:57:53 +02:00
GCC Administrator aae80e833d Daily bump. 2020-06-19 00:16:32 +00:00