From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by sourceware.org (Postfix) with ESMTPS id 2A2C6385B833 for ; Fri, 3 Apr 2020 09:13:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2A2C6385B833 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mliska@suse.cz X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id ACE89AF69; Fri, 3 Apr 2020 09:13:17 +0000 (UTC) From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Subject: [PATCH] Improve svn-rev to search for pattern at line beginning. To: gcc-patches@gcc.gnu.org Cc: Jakub Jelinek Message-ID: <7d57ec61-8c76-99a9-d94b-52228ce7533f@suse.cz> Date: Fri, 3 Apr 2020 11:13:17 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------95329629124C87004ABE1E70" Content-Language: en-US X-Spam-Status: No, score=-30.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Apr 2020 09:13:20 -0000 This is a multi-part message in MIME format. --------------95329629124C87004ABE1E70 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi. It's a small fix that removes the first commit from the following command: $ git svn-rev 279550 commit bcf3fa7cf5a3d024b507f68ffdfab037f4820781 Author: Andre Vieira 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 PR target/93221 * ira.c (ira): Revert use of simplified LRA algorithm. gcc/testsuite/ChangeLog: 2020-01-29 Joel Hutton PR target/93221 * gcc.target/aarch64/pr93221.c: New test. commit 11b8091fb33c894cea20702d3e85389723987910 Author: Eric Botcazou 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 * 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(-) --------------95329629124C87004ABE1E70 Content-Type: text/x-patch; charset=UTF-8; name="0001-Improve-svn-rev-to-search-for-pattern-at-line-beginn.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-Improve-svn-rev-to-search-for-pattern-at-line-beginn.pa"; filename*1="tch" 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 --------------95329629124C87004ABE1E70--