From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1851) id 0ED6F38A90BE; Tue, 15 Nov 2022 12:51:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0ED6F38A90BE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668516712; bh=FufCLUQW37BeNNwmAXsNGoIBFXDk2mcqLR4eLJKpqrc=; h=From:To:Subject:Date:From; b=p8CwcFqnxMcAv8GxKn7+zUD5PyYctiE/32h+dOst1LVmxYmGASFKTCk/sSQEDtiG1 xi4H9H9+5PeZui4l36fwVvcGi/o6Hr5ZYdPmzTWsWnyu/FyvuRzuWNdDqOFPtMC0He TGyXFxbY27JzLMMrpvdwOSHZvArJT2AGkiNvPn0M= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Martin Liska To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-4057] Revert "docs: Fix expected diagnostics URL [PR107599]" X-Act-Checkin: gcc X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: d34dea05f8e9af3e85c45067bad9990c0040946d X-Git-Newrev: fe26b040ce8e74700d22f9abf4306e4a93e2b99e Message-Id: <20221115125152.0ED6F38A90BE@sourceware.org> Date: Tue, 15 Nov 2022 12:51:52 +0000 (GMT) List-Id: https://gcc.gnu.org/g:fe26b040ce8e74700d22f9abf4306e4a93e2b99e commit r13-4057-gfe26b040ce8e74700d22f9abf4306e4a93e2b99e Author: Martin Liska Date: Tue Nov 15 13:51:25 2022 +0100 Revert "docs: Fix expected diagnostics URL [PR107599]" This reverts commit f94c2eff6b0e000ee2feadedf354590958308760. Diff: --- gcc/testsuite/c-c++-common/diagnostic-format-json-2.c | 2 +- gcc/testsuite/c-c++-common/diagnostic-format-json-3.c | 2 +- gcc/testsuite/c-c++-common/diagnostic-format-json-4.c | 2 +- gcc/testsuite/gfortran.dg/diagnostic-format-json-2.F90 | 2 +- gcc/testsuite/gfortran.dg/diagnostic-format-json-3.F90 | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gcc/testsuite/c-c++-common/diagnostic-format-json-2.c b/gcc/testsuite/c-c++-common/diagnostic-format-json-2.c index 4e2351aa60a..edb802efb8d 100644 --- a/gcc/testsuite/c-c++-common/diagnostic-format-json-2.c +++ b/gcc/testsuite/c-c++-common/diagnostic-format-json-2.c @@ -12,7 +12,7 @@ /* { dg-regexp "\"escape-source\": false" } */ /* { dg-regexp "\"message\": \"#warning message\"" } */ /* { dg-regexp "\"option\": \"-Wcpp\"" } */ -/* { dg-regexp "\"option_url\": \"https:\[^\n\r\"\]*#cmdoption-Wcpp\"" } */ +/* { dg-regexp "\"option_url\": \"https:\[^\n\r\"\]*#index-Wcpp\"" } */ /* { dg-regexp "\"caret\": \{" } */ /* { dg-regexp "\"file\": \"\[^\n\r\"\]*diagnostic-format-json-2.c\"" } */ diff --git a/gcc/testsuite/c-c++-common/diagnostic-format-json-3.c b/gcc/testsuite/c-c++-common/diagnostic-format-json-3.c index 325b0bab63b..bb7b8dc5d16 100644 --- a/gcc/testsuite/c-c++-common/diagnostic-format-json-3.c +++ b/gcc/testsuite/c-c++-common/diagnostic-format-json-3.c @@ -12,7 +12,7 @@ /* { dg-regexp "\"escape-source\": false" } */ /* { dg-regexp "\"message\": \"#warning message\"" } */ /* { dg-regexp "\"option\": \"-Werror=cpp\"" } */ -/* { dg-regexp "\"option_url\": \"https:\[^\n\r\"\]*#cmdoption-Wcpp\"" } */ +/* { dg-regexp "\"option_url\": \"https:\[^\n\r\"\]*#index-Wcpp\"" } */ /* { dg-regexp "\"caret\": \{" } */ /* { dg-regexp "\"file\": \"\[^\n\r\"\]*diagnostic-format-json-3.c\"" } */ diff --git a/gcc/testsuite/c-c++-common/diagnostic-format-json-4.c b/gcc/testsuite/c-c++-common/diagnostic-format-json-4.c index f6cd2aacb20..8ac90723cbd 100644 --- a/gcc/testsuite/c-c++-common/diagnostic-format-json-4.c +++ b/gcc/testsuite/c-c++-common/diagnostic-format-json-4.c @@ -42,7 +42,7 @@ int test (void) /* { dg-regexp "\"message\": \"this 'if' clause does not guard...\"" } */ /* { dg-regexp "\"escape-source\": false" } */ /* { dg-regexp "\"option\": \"-Wmisleading-indentation\"" } */ -/* { dg-regexp "\"option_url\": \"https:\[^\n\r\"\]*#cmdoption-Wmisleading-indentation\"" } */ +/* { dg-regexp "\"option_url\": \"https:\[^\n\r\"\]*#index-Wmisleading-indentation\"" } */ /* { dg-regexp "\"caret\": \{" } */ /* { dg-regexp "\"file\": \"\[^\n\r\"\]*diagnostic-format-json-4.c\"" } */ diff --git a/gcc/testsuite/gfortran.dg/diagnostic-format-json-2.F90 b/gcc/testsuite/gfortran.dg/diagnostic-format-json-2.F90 index 3b6030f7c5f..1681462fa08 100644 --- a/gcc/testsuite/gfortran.dg/diagnostic-format-json-2.F90 +++ b/gcc/testsuite/gfortran.dg/diagnostic-format-json-2.F90 @@ -12,7 +12,7 @@ ! { dg-regexp "\"escape-source\": false" } ! { dg-regexp "\"message\": \"#warning message\"" } ! { dg-regexp "\"option\": \"-Wcpp\"" } -! { dg-regexp "\"option_url\": \"\[^\n\r\"\]*#cmdoption-Wcpp\"" } +! { dg-regexp "\"option_url\": \"\[^\n\r\"\]*#index-Wcpp\"" } ! { dg-regexp "\"caret\": \{" } ! { dg-regexp "\"file\": \"\[^\n\r\"\]*diagnostic-format-json-2.F90\"" } diff --git a/gcc/testsuite/gfortran.dg/diagnostic-format-json-3.F90 b/gcc/testsuite/gfortran.dg/diagnostic-format-json-3.F90 index a2a1c14a991..f0a67de76b0 100644 --- a/gcc/testsuite/gfortran.dg/diagnostic-format-json-3.F90 +++ b/gcc/testsuite/gfortran.dg/diagnostic-format-json-3.F90 @@ -12,7 +12,7 @@ ! { dg-regexp "\"escape-source\": false" } ! { dg-regexp "\"message\": \"#warning message\"" } ! { dg-regexp "\"option\": \"-Werror=cpp\"" } -! { dg-regexp "\"option_url\": \"\[^\n\r\"\]*#cmdoption-Wcpp\"" } +! { dg-regexp "\"option_url\": \"\[^\n\r\"\]*#index-Wcpp\"" } ! { dg-regexp "\"caret\": \{" } ! { dg-regexp "\"file\": \"\[^\n\r\"\]*diagnostic-format-json-3.F90\"" }