diff mbox series

[committed] contrib: Add 2 further ignored commits

Message ID Zy+KxjmZtc1KZfY5@tucnak
State New
Headers show
Series [committed] contrib: Add 2 further ignored commits | expand

Commit Message

Jakub Jelinek Nov. 9, 2024, 4:16 p.m. UTC
Hi!

r15-4998 and r15-5004 had wrong commit message, add those to
ignored commits.  ChangeLog will need to be added manually.

The patch below is what I've committed before gcc_update_version
and attached patch after it to fix this up.

2024-11-09  Jakub Jelinek  <jakub@redhat.com>

	* gcc-changelog/git_update_version.py (ignored_commits): Add 2
	further commits.


	Jakub
ChangeLog: Manually add entries for r15-4998 and r15-5004

These commits used *.c rather than *.cc suffix and miracuously got through
the pre-commit hook but broke ChangeLog generation.

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 23ee454e3f2..7fae8aacdf9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -177,6 +177,11 @@
 	laxer, adapted and moved from...
 	(pass_tree_ifcombine::execute): ... here.
 
+2024-11-07  Alexandre Oliva  <oliva@adacore.com>
+
+	* tree-ssa-ifcombine.cc (ifcombine_replace_cond): Support
+	TRUTH_ANDIF cond exprs.
+
 2024-11-07  Alexandre Oliva  <oliva@adacore.com>
 
 	* tree-ssa-ifcombine.cc (recognize_if_then_else): Support
@@ -215,6 +220,11 @@
 	* tree-ssa-ifcombine.cc (ifcombine_ifandif): Drop redundant
 	result_inv parm.  Adjust all callers.
 
+2024-11-07  Alexandre Oliva  <oliva@adacore.com>
+
+	* tree-ssa-ifcombine.cc (bb_no_side_effects_p): Allow vuses,
+	but not vdefs.
+
 2024-11-07  xuli  <xuli1@eswincomputing.com>
 
 	* match.pd: Add the form1 of signed imm .SAT_ADD matching.

Comments

Alexandre Oliva Nov. 10, 2024, 4:30 p.m. UTC | #1
On Nov  9, 2024, Jakub Jelinek <jakub@redhat.com> wrote:

> r15-4998 and r15-5004 had wrong commit message, add those to
> ignored commits.

Ugh, sorry and thanks.
Was that .c vs .cc only, or was there anything else?

I'm surprised the commit-time checker didn't catch them.
It used to, and that was very helpful to avoid typos in filenames.
Jakub Jelinek Nov. 10, 2024, 4:35 p.m. UTC | #2
On Sun, Nov 10, 2024 at 01:30:06PM -0300, Alexandre Oliva wrote:
> On Nov  9, 2024, Jakub Jelinek <jakub@redhat.com> wrote:
> 
> > r15-4998 and r15-5004 had wrong commit message, add those to
> > ignored commits.
> 
> Ugh, sorry and thanks.
> Was that .c vs .cc only, or was there anything else?

I think so.

> I'm surprised the commit-time checker didn't catch them.

I'm surprised too, but don't want to try to push further broken commits just
to double check that. ;)

> It used to, and that was very helpful to avoid typos in filenames.

Yes.
And I think it usually still does, I had one commit rejected because of such
a reason recently.

	Jakub
Joseph Myers Nov. 12, 2024, 12:49 a.m. UTC | #3
On Sun, 10 Nov 2024, Jakub Jelinek wrote:

> On Sun, Nov 10, 2024 at 01:30:06PM -0300, Alexandre Oliva wrote:
> > On Nov  9, 2024, Jakub Jelinek <jakub@redhat.com> wrote:
> > 
> > > r15-4998 and r15-5004 had wrong commit message, add those to
> > > ignored commits.
> > 
> > Ugh, sorry and thanks.
> > Was that .c vs .cc only, or was there anything else?
> 
> I think so.
> 
> > I'm surprised the commit-time checker didn't catch them.
> 
> I'm surprised too, but don't want to try to push further broken commits just
> to double check that. ;)

I think this is the known loophole where branch-specific checks only get 
applied to commits that are new to the repository, not to commits that 
were previously pushed to a branch with laxer checks.  This has been fixed 
- see https://github.com/AdaCore/git-hooks/issues/20 - but we need to 
update the copy of the hooks used by GCC (there are multiple copies on 
sourceware, I think), which means checking for any incompatible changes 
since the version currently in use that might require updates to the hook 
configuration.  (And then we'd need to use the new facilities introduced 
by the fix for that issue to ensure the branch-specific checks are applied 
to all commits added to relevant branches, not just ones new to the 
repository; it's not automatic even with updated hooks.)
Alexandre Oliva Nov. 12, 2024, 2:51 a.m. UTC | #4
On Nov 10, 2024, Jakub Jelinek <jakub@redhat.com> wrote:

> On Sun, Nov 10, 2024 at 01:30:06PM -0300, Alexandre Oliva wrote:

>> I'm surprised the commit-time checker didn't catch them.

> I'm surprised too, but don't want to try to push further broken commits just
> to double check that. ;)

You can leave that testing to me ;-)

As in, I'm sure I'll eventually try to push commits with CL typos again,
and then we'll know ;-)

>> It used to, and that was very helpful to avoid typos in filenames.

> Yes.
> And I think it usually still does, I had one commit rejected because of such
> a reason recently.

Hmm...

I have a theory.  Since it'd been a while since I'd refreshed the tree
as I posted the patchset, I refreshed it, pushed to my testing branch,
and ran a test build before pushing the same commits onto the trunk.

Could it be that the checker didn't test the first push because it was
for an open branch, and then didn't test the second push because the
commits were not new?
diff mbox series

Patch

diff --git a/contrib/gcc-changelog/git_update_version.py b/contrib/gcc-changelog/git_update_version.py
index ec06fc965f8..005dcca769a 100755
--- a/contrib/gcc-changelog/git_update_version.py
+++ b/contrib/gcc-changelog/git_update_version.py
@@ -42,7 +42,9 @@  ignored_commits = {
         '040e5b0edbca861196d9e2ea2af5e805769c8d5d',
         '8057f9aa1f7e70490064de796d7a8d42d446caf8',
         '109f1b28fc94c93096506e3df0c25e331cef19d0',
-        '39f81924d88e3cc197fc3df74204c9b5e01e12f7'}
+        '39f81924d88e3cc197fc3df74204c9b5e01e12f7',
+        '8e6a25b01becf449d54154b7e83de5f4955cba37',
+        '13cf22eb557eb5e3d796822247d8d4957bdb25da'}
 
 FORMAT = '%(asctime)s:%(levelname)s:%(name)s:%(message)s'
 logging.basicConfig(level=logging.INFO, format=FORMAT,