Commit Graph

1166 Commits

Author SHA1 Message Date
GCC Administrator
81ed98bc57 Daily bump. 2023-01-12 00:18:07 +00:00
Gerald Pfeifer
306ff653a3 config-list.mk: Remove obsolete FreeBSD targets
ia64-freebsd is officially dead, and sparc64-freebsd has not been able
to build GCC for half a dozen years (or so) and is essentially end of
life.

The default per gcc/config/i386/freebsd.h has been i586 for a while,
so i486-freebsd can go as well. (We still have i686-freebsd.)

contrib/ChangeLog:

	* config-list.mk: Remove i486-freebsd4, ia64-freebsd6, and
	sparc64-freebsd6.
2023-01-12 01:08:45 +01:00
GCC Administrator
d808db1f7b Daily bump. 2023-01-07 00:17:28 +00:00
Martin Liska
55f813f5cd contrib: add 'contrib' to default dirs in update-copyright.py
contrib/ChangeLog:

	* update-copyright.py: Add contrib as a default dir.
2023-01-06 08:45:24 +01:00
GCC Administrator
9b111debbf Daily bump. 2022-12-29 00:17:39 +00:00
Martin Liska
d898a17b92 contrib: add contrib to update-copyright.py script
contrib/ChangeLog:

	* update-copyright.py: Add contrib folder.
2022-12-28 10:22:38 +01:00
GCC Administrator
376d6b8c6a Daily bump. 2022-12-24 00:17:19 +00:00
Arsen Arsenović
e70380f454 contrib: Add dg-out-generator.pl
This script is a helper used to generate dg-output lines from an existing
program output conveniently.  It takes care of escaping Tcl and ARE stuff.

contrib/ChangeLog:

	* dg-out-generator.pl: New file.
2022-12-22 19:44:07 -05:00
GCC Administrator
de282a2012 Daily bump. 2022-12-22 00:17:29 +00:00
Martin Liska
af49fd41ab contrib: simplify filter-clang-warnings.py
contrib/ChangeLog:

	* filter-clang-warnings.py: Simplify.
2022-12-21 09:10:34 +01:00
Martin Liska
0d1b5446bf contrib: filter out more unrelated warnings
contrib/ChangeLog:

	* filter-clang-warnings.py: Skip Makefile and libffi warnings.
2022-12-21 09:08:24 +01:00
GCC Administrator
d2ef2327bb Daily bump. 2022-12-20 00:17:00 +00:00
Martin Liska
a9f6a2b7f5 gcc-changelog: support digits in PR's component in subject
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Support digits in PR's
	component in subject.
2022-12-19 14:55:39 +01:00
Martin Liska
7e9ec734f9 gcc-changelog: allow digit in component name
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Allow digit in component name.

contrib/ChangeLog:

	* gcc-changelog/test_email.py: Add new test.
	* gcc-changelog/test_patches.txt: Add new patch.
2022-12-19 14:39:25 +01:00
Tobias Burnus
2b2cec58ff gcc-changelog: Add warning for auto-added files
git_email.py prints now a warning for files added automatically.
git_check_commit.py does likewise but only with --verbose.
It prints one line per ChangeLog file, either stating the file
or if more than one the number of files.

contrib/ChangeLog:

	* gcc-changelog/git_check_commit.py (__main__): With -v print a
	warning for the auto-added files.
	* gcc-changelog/git_commit.py (GitCommit.__init__): Add self.warnings.
	(GitCommit.check_mentioned_files): Add warning for auto-added files.
	(GitCommit.print_warnings): New function.
	* gcc-changelog/git_email.py (__main__): Remove bogus argument to
	GitEmail constructor; print auto-added-files warning.
	* gcc-changelog/test_email.py (test_auto_add_file_1,
	test_auto_add_file_2): New tests.
	* gcc-changelog/test_patches.txt: Add two test cases.
2022-12-19 12:12:16 +01:00
Martin Liska
17b41a2839 gcc-changelog: stop using --flake8
The flake8 pytest plug-in is broken and we should not use it.

contrib/ChangeLog:

	* gcc-changelog/setup.cfg: Do not use flake8 pytest plug-in.
2022-12-19 10:02:38 +01:00
GCC Administrator
5fb1e67453 Daily bump. 2022-12-17 00:17:56 +00:00
Martin Liska
d386d39920 contrib: make warnings unique in filter-clang-warnings.py
contrib/ChangeLog:

	* filter-clang-warnings.py: Print each warning only one time.
2022-12-16 13:07:27 +01:00
Martin Liska
66c2f03d4c gcc-changelog: do not use PatchSet.from_filename
Use rather PatchSet constructor where we can pass
properly opened file with newline='\n'.

contrib/ChangeLog:

	* gcc-changelog/git_email.py: Use PatchSet constructor
	as newline argument is not supported with older unidiff
	library.
2022-12-16 12:21:59 +01:00
Tobias Burnus
8f2a8be579 gcc-changelog/git_email.py: Support older unidiff.PatchSet
Commit "unidiff: use newline='\n' argument",
r13-4603-gb045179973161115c7ea029b2788f5156fc55cda, added support CR
on a line, but that broke support for older unidiff.PatchSet.

This patch uses a fallback for git_email.py (drop argument) if not
available (TypeError exception) but keeps using it in test_email.py
unconditionally.

contrib/ChangeLog:

	* gcc-changelog/git_email.py (GitEmail:__init__): Support older
	unidiff.PatchSet that do not have a newline= argument
	of from_filename.
2022-12-16 11:02:24 +01:00
GCC Administrator
26f4aefaeb Daily bump. 2022-12-15 00:17:29 +00:00
Martin Liska
81f86cb969 contrib: add copyright for my scripts
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.
2022-12-14 14:06:58 +01:00
Martin Liska
e165214777 mklog: do not depend on recent unidiff version
contrib/ChangeLog:

	* mklog.py: Check for number of hunks and not if a modified
	file is binary.
2022-12-14 11:33:25 +01:00
GCC Administrator
1728c537b4 Daily bump. 2022-12-13 00:18:07 +00:00
Martin Liska
14d0f82cab mklog: do not parse binary file for PR entry
contrib/ChangeLog:

	* mklog.py: Do not search PR entry in a file that is binary.
2022-12-12 13:24:25 +01:00
GCC Administrator
324e995340 Daily bump. 2022-12-12 00:22:21 +00:00
Martin Liska
b045179973 unidiff: use newline='\n' argument
In order to support CR on a line, we need to open files
with newline='\n' as our line endings supposed to be of UNIX style.

contrib/ChangeLog:

	* check_GNU_style.py: Use newline=\n.
	* check_GNU_style_lib.py: Simplify.
	* gcc-changelog/git_commit.py: Fix issues seen
	Rust patchset.
	* gcc-changelog/git_email.py: Use newline argument.
	* gcc-changelog/test_email.py: New test.
	* gcc-changelog/test_patches.txt: New test.
	* mklog.py: Use newline argument.
2022-12-11 17:22:25 +01:00
GCC Administrator
c6b12b802c Daily bump. 2022-12-11 00:17:43 +00:00
Thomas Schwinge
325529e21e Prepare 'contrib/gcc-changelog/git_commit.py' for GCC/Rust
contrib/
	* gcc-changelog/git_commit.py (default_changelog_locations): Add
	'gcc/rust'.
	(bug_components): Add 'rust'.
2022-12-10 07:29:22 +01:00
Gaius Mulley
7e4aa71043 Add ChangeLog directories for modula2 into git_commit.py.
Prepare to add changelogs for the Modula2 front end by changing
the contrib git_commit.py script.

contrib/ChangeLog:

	* gcc-changelog/git_commit.py (default_changelog_locations):
	New entry for gcc/m2.  New entry for libgm2.

Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
2022-12-10 02:21:53 +00:00
GCC Administrator
3fe66f7f9f Daily bump. 2022-12-07 00:18:44 +00:00
David Malcolm
fa19bfbb0a contrib: doxygen: add gcc/analyzer subdirectory to INPUT
contrib/ChangeLog:
	* gcc.doxy (INPUT): Add gcc/analyzer subdirectory.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2022-12-06 13:26:56 -05:00
GCC Administrator
d769c50408 Daily bump. 2022-11-26 00:17:08 +00:00
Martin Liska
f9e9a15bb2 Revert "gcc-changelog: temporarily disable check_line_start"
This reverts commit a5878983d5.
2022-11-25 11:06:15 +01:00
GCC Administrator
9a1b4f1d3d Daily bump. 2022-11-25 10:03:24 +00:00
Martin Liska
a5878983d5 gcc-changelog: temporarily disable check_line_start
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Temporarily disable
	check_line.start.
2022-11-25 11:01:00 +01:00
GCC Administrator
8b7fee1de9 Daily bump. 2022-11-22 00:17:49 +00:00
Martin Liska
3d3b561fc3 changelog: Fix extra space after tab. 2022-11-21 10:13:44 +01:00
Martin Liska
454a823dc9 Revert "gcc-changelog: temporarily disable check_line_start"
This reverts commit 0275ff2070.
2022-11-21 09:16:27 +01:00
GCC Administrator
fb98ede8ca Daily bump. 2022-11-21 00:16:46 +00:00
Martin Liska
0275ff2070 gcc-changelog: temporarily disable check_line_start
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Temporarily disable
	check_line.start.
2022-11-20 12:58:22 +01:00
GCC Administrator
add8984069 Daily bump. 2022-11-18 18:09:19 +00:00
Jakub Jelinek
f003fdff96 Add another commit to ignore
We can't handle r13-4128-g1957bedf29a1b2cc231972aba680fe80199d5498

	* gcc-changelog/git_update_version.py: Add
	1957bedf29 to ignored commits.
2022-11-18 19:05:46 +01:00
GCC Administrator
cdc34229c1 Daily bump. 2022-11-16 00:17:09 +00:00
Martin Liska
9a4129f5c5 gcc-changelog: revert temporary rule relaxation
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Revert temporary rule
	relaxation.
2022-11-15 09:34:50 +01:00
GCC Administrator
83d400bded Daily bump. 2022-11-15 08:32:29 +00:00
Martin Liska
5f2ce01a21 gcc-changelog: temporarily disable check_line_start
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Temporarily disable
	check_line.start.
2022-11-14 03:52:14 +01:00
GCC Administrator
5b6ce16ade Daily bump. 2022-11-12 00:17:25 +00:00
Martin Liska
999c14cf24 changelog: check for space after tab
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Check for a space after leading
	tab.
	* gcc-changelog/test_email.py: Likewise.
	* gcc-changelog/test_patches.txt: Likewise.
2022-11-11 09:52:22 +01:00
Jakub Jelinek
89d0a14a1f Manually add ChangeLog entries from r13-3652-ge4cba49413ca429dc82f6aa2e88129ecb3fdd943
This commit caused failure of update_version_git due to the removal of
liboffloadmic with ChangeLog in it, so I had to blacklist that commit
and here I'm adding ChangeLog entries manually.
2022-11-06 12:12:47 +01:00