From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7897) id 479E33852205; Mon, 21 Nov 2022 15:36:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 479E33852205 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669045014; bh=/2eJW9m4YYIFpeViu0g8NJc8nNtH5I2IlEVoCEw+Llw=; h=From:To:Subject:Date:From; b=iTeWJGXlCMjOurbdlx/fpWRuDgoqfLGwktIfphvcSa3qQqFklW9W7UMFIaDEzbdGs tjnnW8ujNOM9REYo74hiJ8woYh+haQ526yh+WqvODlXLlBJkTIYUG3+RBfyKEeHjQO eflZlLgv0TLDyE/ZzcQ5pN66LOoANa7XMs7Ci5L8= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Torbjorn Svensson To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4205] testsuite: Windows paths use \ and not / X-Act-Checkin: gcc X-Git-Author: =?utf-8?q?Torbj=C3=B6rn_SVENSSON?= X-Git-Refname: refs/heads/master X-Git-Oldrev: 6edcb5dc42625cb0cf84b19c6fe4f944f6322ea0 X-Git-Newrev: 9df85f331fa78ddfdbbe3b0fd5ff3727d2f57333 Message-Id: <20221121153654.479E33852205@sourceware.org> Date: Mon, 21 Nov 2022 15:36:54 +0000 (GMT) List-Id: https://gcc.gnu.org/g:9df85f331fa78ddfdbbe3b0fd5ff3727d2f57333 commit r13-4205-g9df85f331fa78ddfdbbe3b0fd5ff3727d2f57333 Author: Torbjörn SVENSSON Date: Tue Oct 25 17:04:07 2022 +0200 testsuite: Windows paths use \ and not / Without this patch, the following error is reported on Windows: In file included from t:\build\arm-none-eabi\include\c++\11.3.1\string:54, from t:\build\arm-none-eabi\include\c++\11.3.1\bits\locale_classes.h:40, from t:\build\arm-none-eabi\include\c++\11.3.1\bits\ios_base.h:41, from t:\build\arm-none-eabi\include\c++\11.3.1\ios:42, from t:\build\arm-none-eabi\include\c++\11.3.1\ostream:38, from t:\build\arm-none-eabi\include\c++\11.3.1\iostream:39: t:\build\arm-none-eabi\include\c++\11.3.1\bits\range_access.h:36:10: note: include 't:\build\arm-none-eabi\include\c++\11.3.1\initializer_list' translated to import arm-none-eabi-g++.exe: warning: .../gcc/testsuite/g++.dg/modules/pr99023_b.X: linker input file unused because linking not done FAIL: g++.dg/modules/pr99023_b.X -std=c++2a dg-regexp 6 not found: "[^\n]*: note: include '[^\n]*/initializer_list' translated to import\n" gcc/testsuite/ChangeLog: * g++.dg/modules/pr99023_b.X: Match Windows paths too. Co-Authored-By: Yvan ROUX Signed-off-by: Torbjörn SVENSSON Diff: --- gcc/testsuite/g++.dg/modules/pr99023_b.X | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/g++.dg/modules/pr99023_b.X b/gcc/testsuite/g++.dg/modules/pr99023_b.X index 3d82f34868b..ca5f32e5bcc 100644 --- a/gcc/testsuite/g++.dg/modules/pr99023_b.X +++ b/gcc/testsuite/g++.dg/modules/pr99023_b.X @@ -3,5 +3,5 @@ // { dg-prune-output {linker input file unused} } -// { dg-regexp {[^\n]*: note: include '[^\n]*/initializer_list' translated to import\n} } +// { dg-regexp {[^\n]*: note: include '[^\n]*[/\\]initializer_list' translated to import\n} } NO DO NOT COMPILE