* [PATCH] Improve svn-rev to search for pattern at line beginning.
@ 2020-04-03 9:13 Martin Liška
2020-04-03 9:22 ` Jakub Jelinek
2020-04-03 18:13 ` Joseph Myers
0 siblings, 2 replies; 3+ messages in thread
From: Martin Liška @ 2020-04-03 9:13 UTC (permalink / raw)
To: gcc-patches; +Cc: Jakub Jelinek
[-- Attachment #1: Type: text/plain, Size: 1460 bytes --]
Hi.
It's a small fix that removes the first commit from the following command:
$ git svn-rev 279550
commit bcf3fa7cf5a3d024b507f68ffdfab037f4820781
Author: Andre Vieira <andre.simoesdiasvieira@arm.com>
Date: Wed Jan 29 14:23:22 2020 +0000
IRA: Revert 11b8091fb to fix PR 93221
A previous change to simplify LRA introduced in 11b809 (From-SVN: r279550)
disabled hard register splitting for -O0. This causes a problem on aarch64 in
cases where parameters are passed in multiple registers (in the bug report an OI
passed in 2 V4SI registers). This is mandated by the AAPCS.
gcc/ChangeLog:
2020-01-29 Joel Hutton <Joel.Hutton@arm.com>
PR target/93221
* ira.c (ira): Revert use of simplified LRA algorithm.
gcc/testsuite/ChangeLog:
2020-01-29 Joel Hutton <Joel.Hutton@arm.com>
PR target/93221
* gcc.target/aarch64/pr93221.c: New test.
commit 11b8091fb33c894cea20702d3e85389723987910
Author: Eric Botcazou <ebotcazou@adacore.com>
Date: Wed Dec 18 23:03:23 2019 +0000
* ira.c (ira): Use simple LRA algorithm when not optimizing.
From-SVN: r279550
Ready for master?
Martin
contrib/ChangeLog:
2020-04-03 Martin Liska <mliska@suse.cz>
* gcc-git-customization.sh: Search for the pattern
at line beginning only.
---
contrib/gcc-git-customization.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[-- Attachment #2: 0001-Improve-svn-rev-to-search-for-pattern-at-line-beginn.patch --]
[-- Type: text/x-patch, Size: 637 bytes --]
diff --git a/contrib/gcc-git-customization.sh b/contrib/gcc-git-customization.sh
index f3e48316ead..a932bf8c06a 100755
--- a/contrib/gcc-git-customization.sh
+++ b/contrib/gcc-git-customization.sh
@@ -18,7 +18,7 @@ ask () {
}
# Add a git command to find the git commit equivalent to legacy SVN revision NNN
-git config alias.svn-rev '!f() { rev=$1; shift; git log --all --grep="From-SVN: r\\?$rev\\b" "${@}"; } ; f'
+git config alias.svn-rev '!f() { rev=$1; shift; git log --all --grep="^From-SVN: r\\?$rev\\b" "${@}"; } ; f'
# Add git commands to convert git commit to monotonically increasing revision number
# and vice versa
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Improve svn-rev to search for pattern at line beginning.
2020-04-03 9:13 [PATCH] Improve svn-rev to search for pattern at line beginning Martin Liška
@ 2020-04-03 9:22 ` Jakub Jelinek
2020-04-03 18:13 ` Joseph Myers
1 sibling, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2020-04-03 9:22 UTC (permalink / raw)
To: Martin Liška; +Cc: gcc-patches
On Fri, Apr 03, 2020 at 11:13:17AM +0200, Martin Liška wrote:
> 2020-04-03 Martin Liska <mliska@suse.cz>
>
> * gcc-git-customization.sh: Search for the pattern
> at line beginning only.
Ok, thanks.
> diff --git a/contrib/gcc-git-customization.sh b/contrib/gcc-git-customization.sh
> index f3e48316ead..a932bf8c06a 100755
> --- a/contrib/gcc-git-customization.sh
> +++ b/contrib/gcc-git-customization.sh
> @@ -18,7 +18,7 @@ ask () {
> }
>
> # Add a git command to find the git commit equivalent to legacy SVN revision NNN
> -git config alias.svn-rev '!f() { rev=$1; shift; git log --all --grep="From-SVN: r\\?$rev\\b" "${@}"; } ; f'
> +git config alias.svn-rev '!f() { rev=$1; shift; git log --all --grep="^From-SVN: r\\?$rev\\b" "${@}"; } ; f'
>
> # Add git commands to convert git commit to monotonically increasing revision number
> # and vice versa
>
Jakub
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Improve svn-rev to search for pattern at line beginning.
2020-04-03 9:13 [PATCH] Improve svn-rev to search for pattern at line beginning Martin Liška
2020-04-03 9:22 ` Jakub Jelinek
@ 2020-04-03 18:13 ` Joseph Myers
1 sibling, 0 replies; 3+ messages in thread
From: Joseph Myers @ 2020-04-03 18:13 UTC (permalink / raw)
To: Martin Liška; +Cc: gcc-patches, Jakub Jelinek
Thanks, this matches the commit hook (which only rejects From-SVN: at
start of line, not elsewhere in a commit message).
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-04-03 18:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-03 9:13 [PATCH] Improve svn-rev to search for pattern at line beginning Martin Liška
2020-04-03 9:22 ` Jakub Jelinek
2020-04-03 18:13 ` Joseph Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).