Commit Graph

979 Commits

Author SHA1 Message Date
GCC Administrator
4d17ca1bc7 Daily bump. 2021-08-03 07:49:16 +00:00
Martin Liska
e460471571 gcc-changelog: ignore one more commit
contrib/ChangeLog:

	* gcc-changelog/git_update_version.py: Ignore problematic
	  commit.
2021-08-03 09:22:30 +02:00
GCC Administrator
92d4550991 Daily bump. 2021-07-21 00:16:54 +00:00
Richard Earnshaw
b51de13d81 Limit fill-column to 79
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.
2021-07-20 11:14:18 +01:00
GCC Administrator
7a60a6e8b3 Daily bump. 2021-07-03 00:16:31 +00:00
Eugene Rozenfeld
01d402c5e0 Update gen_autofdo_event.py and gcc-auto-profile.
gen_autofdo_event.py was stumbling on models with stepping so
I updated the script to handle this case similar to the code in
c6a5f63aed/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
2021-07-01 23:30:14 -07:00
GCC Administrator
c8abc2058e Daily bump. 2021-06-29 00:16:42 +00:00
Martin Liska
b838641bb0 mklog: Handle correctly long lines.
contrib/ChangeLog:

	* mklog.py: Handle correctly long lines.
	* test_mklog.py: Test it.
2021-06-28 13:43:41 +02:00
GCC Administrator
fcf617f0d2 Daily bump. 2021-06-24 00:16:30 +00:00
Martin Liska
c2124b51a9 contrib: add git-commit-mklog wrapper
contrib/ChangeLog:

	* gcc-git-customization.sh: Use the new wrapper.
	* git-commit-mklog.py: New file.
	* prepare-commit-msg: Support GCC_MKLOG_ARGS.
2021-06-23 09:39:10 +02:00
GCC Administrator
419af06a35 Daily bump. 2021-06-23 00:16:28 +00:00
Martin Liska
48b312b4ba contrib: fix a flake8 issue
contrib/ChangeLog:

	* mklog.py: Fix flake8 issue.
2021-06-22 09:50:38 +02:00
GCC Administrator
2f080224cf Daily bump. 2021-06-22 00:16:29 +00:00
Tobias Burnus
edf0c3ffb5 contrib/mklog.py: Improve PR handling
Co-authored-by: Martin Sebor <msebor@redhat.com>

contrib/ChangeLog:

	* mklog.py (bugzilla_url): Fetch also component.
	(pr_filename_regex): New.
	(get_pr_titles): Update PR string with correct format and component.
	(generate_changelog): Take additional PRs; extract PR from the
	filename.
	(__main__): Add -b/--pr-numbers argument.
	* test_mklog.py (EXPECTED4): Update to expect a PR for the new file.
2021-06-21 15:17:45 +02:00
GCC Administrator
688359a27d Daily bump. 2021-06-18 00:16:58 +00:00
Jason Merrill
58e3b17f4c mklog: add subject line skeleton
In the recent gcc-commit-mklog thread on gcc@ it occurred to me that the
command could also fill in part of the subject line.  If the first PR is
foo/1234, and the commit does not yet have a subject line, this will add

foo: [PR1234]

contrib/ChangeLog:

	* mklog.py: Add an initial component: [PRnnnnn] line when
	we have a PR.
2021-06-17 13:15:57 -04:00
GCC Administrator
4e70c34e5c Daily bump. 2021-06-14 00:16:35 +00:00
Tobias Burnus
d554f43c98 contrib/gcc-changelog: Check that PR in subject is in changelog
This patch checks that a '[PRnnnn]' and '(PRnnnn)' also appears as PR in the
changelog part of the commit message.  And it does likewise for 'PR comp/nnnn'
except that then also the component name is checked.  (Note that the reverse
is permitted, i.e. PR(s) only appearing in the changelog.)
To avoid false positives, PR numbers in the subject line are ignored,
if 'revert' appears.
Additionally, reject commits with a nonempty second line.

contrib/ChangeLog:

	* gcc-changelog/git_commit.py (pr_regex): Add ?P<pr> for group('pr').
	(subject_pr_regex, subject_pr2_regex): New.
	(GitInfo.__init__, GitCommit.parse_changelog): Check subject PRs.
	* gcc-changelog/git_email.py (SUBJECT_PREFIX, subject_patch_regex): New.
	(GitEmail.__init__): Parse 'Subject:' and pass it to GitInfo.
	* gcc-changelog/test_email.py (test_pr_only_in_subject,
	test_wrong_pr_comp_in_subject, test_copyright_years): New.
	* gcc-changelog/test_patches.txt (0030-PR-c-92746, pr-check1.patch):
	Update to avoid triggering the new check.
	(0001-rs6000-Support-doubleword, pr-wrong-comp.patch,
	copyright-years.patch): New.
2021-06-13 07:46:54 +02:00
GCC Administrator
43c35d0d90 Daily bump. 2021-06-11 09:09:28 +00:00
Martin Liska
e01874cdae gcc-changelog: Ignore one more commit.
contrib/ChangeLog:

	* gcc-changelog/git_update_version.py: Ignore commit that
	violates rules and was somehow pushed.
2021-06-11 10:13:54 +02:00
GCC Administrator
2bc6dacecb Daily bump. 2021-05-26 00:16:41 +00:00
Jakub Jelinek
c9a089cad1 Update copyright years in c++tools
While looking at PR100731, I have noticed the copyright years are 2020-ish
only.  This patch adds it to update-copyright.py and updates those.

2021-05-25  Jakub Jelinek  <jakub@redhat.com>

contrib/
	* update-copyright.py: Add c++tools.
c++tools/
	* Makefile.in: Update copyright year.
	* configure.ac: Likewise.
	* resolver.cc: Likewise.
	* resolver.h: Likewise.
	* server.cc: Likewise.
	(print_version): Update copyright notice date.
2021-05-25 11:12:03 +02:00
GCC Administrator
637569df03 Daily bump. 2021-05-25 00:16:53 +00:00
Martin Liska
9d38e096c5 gcc-changelog: Add note about ChangeLog entries
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Add note that ChangeLog entries
	are added automatically.
	* gcc-changelog/test_email.py: Update test.
2021-05-24 09:18:44 +02:00
GCC Administrator
a8daf9a19a Daily bump. 2021-05-19 00:16:45 +00:00
Jonathan Wakely
7b4bae0acb gcc-changelog: Remove use of non-strict mode
contrib/ChangeLog:

	* gcc-changelog/git_email.py: Remove use of non-strict mode.
2021-05-18 10:09:34 +01:00
GCC Administrator
a7ffc1ef6e Daily bump. 2021-05-18 00:16:40 +00:00
Richard Biener
2ec80a3457 Update mpfr version to 3.1.6
This updates the mpfr version to 3.1.6 which is the last bugfix
release from the 3.1.x series and avoids printing the version
is buggy but acceptable from our configury.

2021-05-17  Richard Biener  <rguenther@suse.de>

contrib/ChangeLog:
	* download_prerequisites: Update mpfr version to 3.1.6.
	* prerequisites.md5: Update.
	* prerequisites.sha512: Likewise.
2021-05-17 08:56:28 +02:00
Richard Biener
52a812098a Revert "download_prerequisites: update MPFR version to recommended"
This reverts commit fe108dad32.
2021-05-17 08:52:51 +02:00
GCC Administrator
87a7d10c2e Daily bump. 2021-05-15 00:16:27 +00:00
Martin Liska
fe108dad32 download_prerequisites: update MPFR version to recommended
contrib/ChangeLog:

	* download_prerequisites: Use version 4.1.0.
2021-05-14 12:01:08 +02:00
Jakub Jelinek
df18a1343d Closing of 8 branch.
2021-05-14  Jakub Jelinek  <jakub@redhat.com>

contrib/
	* gcc-changelog/git_update_version.py: Remove releases/gcc-8 from
	active_refs.
maintainer-scripts/
	* crontab: Stop doing gcc-8 snapshots.
2021-05-14 11:25:30 +02:00
Martin Liska
ae3e0b8bc2 gcc-changelog: detect Co-Authored-By before ChangeLog entries
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Support Co-Authored-By before
	a first ChangeLog entry.
2021-05-14 10:44:33 +02:00
GCC Administrator
f9af11c7f1 Daily bump. 2021-05-14 00:16:30 +00:00
Martin Liska
fef084dc83 mklog: Put detected PR entries before ChangeLogs
contrib/ChangeLog:

	* mklog.py: Put PR entries before all ChangeLog entries
	(will be added to all ChangeLog locations by Daily bump script).
	* test_mklog.py: Test the new behavior.
2021-05-13 15:13:31 +02:00
GCC Administrator
037e366111 Daily bump. 2021-05-12 08:51:03 +00:00
Martin Liska
5caadfbde2 gcc-changelog: respect branch in git_update_version.py.
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Simplify needle lookup.
	* gcc-changelog/git_update_version.py: Pass ref_name to
	parse_git_revisions.
2021-05-12 10:37:12 +02:00
Martin Liska
814d86ddce Remove libhsail-rt.
ChangeLog:

	* Makefile.def: Remove libhsail-rt.
	* Makefile.in: Likewise.
	* configure.ac: Likewise.
	* configure: Regenerate.
	* libhsail-rt/ChangeLog: Removed.
	* libhsail-rt/Makefile.am: Removed.
	* libhsail-rt/Makefile.in: Removed.
	* libhsail-rt/README: Removed.
	* libhsail-rt/aclocal.m4: Removed.
	* libhsail-rt/configure: Removed.
	* libhsail-rt/configure.ac: Removed.
	* libhsail-rt/configure.tgt: Removed.
	* libhsail-rt/include/internal/fibers.h: Removed.
	* libhsail-rt/include/internal/phsa-queue-interface.h: Removed.
	* libhsail-rt/include/internal/phsa-rt.h: Removed.
	* libhsail-rt/include/internal/workitems.h: Removed.
	* libhsail-rt/rt/arithmetic.c: Removed.
	* libhsail-rt/rt/atomics.c: Removed.
	* libhsail-rt/rt/bitstring.c: Removed.
	* libhsail-rt/rt/fbarrier.c: Removed.
	* libhsail-rt/rt/fibers.c: Removed.
	* libhsail-rt/rt/fp16.c: Removed.
	* libhsail-rt/rt/misc.c: Removed.
	* libhsail-rt/rt/multimedia.c: Removed.
	* libhsail-rt/rt/queue.c: Removed.
	* libhsail-rt/rt/sat_arithmetic.c: Removed.
	* libhsail-rt/rt/segment.c: Removed.
	* libhsail-rt/rt/workitems.c: Removed.
	* libhsail-rt/target-config.h.in: Removed.

contrib/ChangeLog:

	* gcc_update: Remove libhsail-rt folder.
	* update-copyright.py: Likewise.
2021-05-11 15:13:30 +02:00
Martin Liska
8f67bf25a4 gcc-changelog: Remove non-strict mode.
contrib/ChangeLog:

	* gcc-changelog/git_check_commit.py: Remove --non-strict-mode.
	* gcc-changelog/git_commit.py: Remove strict mode.
	* gcc-changelog/git_email.py: Likewise.
	* gcc-changelog/git_repository.py: Likewise.
	* gcc-changelog/test_email.py: Likewise.
	* gcc-changelog/test_patches.txt: Update patches so that they
	don't contain a ChangeLog file changes.
2021-05-11 10:55:07 +02:00
Martin Liska
772e5e82e3 gcc-changelog: Accept ref_name argument in GitCommit.
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Remove ChangeLog locations
	based on ref_name.
	* gcc-changelog/git_repository.py: Likewise.
2021-05-11 10:53:26 +02:00
GCC Administrator
aa891c56f2 Daily bump. 2021-05-11 00:16:36 +00:00
Martin Liska
0fd1a54ba3 gcc-changelog: remove newlines in git_email.py --help
contrib/ChangeLog:

	* gcc-changelog/git_email.py: Remove newlines when --help
	is used.
2021-05-10 15:17:06 +02:00
Tobias Burnus
8300c34660 contrib/gcc-changelog: Add/improve --help
contrib/ChangeLog:

	* gcc-changelog/git_check_commit.py (__Main__): State in --help
	the default value for 'revisions'.
	* gcc-changelog/git_email.py (show_help): Add.
	(__main__): Handle -h and --help.
2021-05-10 15:14:11 +02:00
Tobias Burnus
c1d381f007 contrib/gcc-changelog: Detect if same file appears twice
contrib/ChangeLog:

	* gcc-changelog/git_commit.py (Error.__repr__): Add space after the colon.
	(GitCommit.check_mentioned_files): Check whether the same file has been
	specified multiple times.
	* gcc-changelog/test_email.py (TestGccChangelog.test_multi_same_file): New.
	* gcc-changelog/test_patches.txt (0001-OpenMP-Fix-SIMT): New test.
2021-05-10 14:37:15 +02:00
Martin Liska
3e5605f0a9 Revert "gcc-changelog: Remove components that will be removed."
This reverts commit fea26bad2e.
2021-05-10 13:44:28 +02:00
Martin Liska
933c5149e9 gcc_update: fix check for local source tree.
contrib/ChangeLog:

	* gcc_update: Start using reload.c instead of version.c.
2021-05-10 12:12:31 +02:00
Martin Liska
fea26bad2e gcc-changelog: Remove components that will be removed.
contrib/ChangeLog:

	* gcc-changelog/git_commit.py: Remove components that will be
	removed.
2021-05-10 09:22:26 +02:00
GCC Administrator
8f54dd61e7 Daily bump. 2021-04-28 00:16:36 +00:00
Jakub Jelinek
bbadf83e5a Update gennews for GCC 10 and GCC 11.
2021-04-27  Jakub Jelinek  <jakub@redhat.com>

	* gennews (files): Add files for GCC 10 and GCC 11.
2021-04-27 11:02:27 +02:00
GCC Administrator
e3948473e9 Daily bump. 2021-04-23 00:16:25 +00:00