{"id":2226262,"url":"http://patchwork.ozlabs.org/api/1.2/patches/2226262/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/patch/bmm.hhubeob5uw.gcc.gcc-TEST.pinskia.21.1.1@forge-stage.sourceware.org/","project":{"id":17,"url":"http://patchwork.ozlabs.org/api/1.2/projects/17/?format=json","name":"GNU Compiler Collection","link_name":"gcc","list_id":"gcc-patches.gcc.gnu.org","list_email":"gcc-patches@gcc.gnu.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<bmm.hhubeob5uw.gcc.gcc-TEST.pinskia.21.1.1@forge-stage.sourceware.org>","list_archive_url":null,"date":"2026-04-22T10:31:24","name":"[v1,1/4] md-files: Add a note about escaped quotes in braced strings in md files","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"7ca34cf7af0a9ff0fd425bb119f6a3061621f088","submitter":{"id":93219,"url":"http://patchwork.ozlabs.org/api/1.2/people/93219/?format=json","name":"Andrew Pinski via Sourceware Forge","email":"forge-bot+pinskia@forge-stage.sourceware.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/gcc/patch/bmm.hhubeob5uw.gcc.gcc-TEST.pinskia.21.1.1@forge-stage.sourceware.org/mbox/","series":[{"id":500980,"url":"http://patchwork.ozlabs.org/api/1.2/series/500980/?format=json","web_url":"http://patchwork.ozlabs.org/project/gcc/list/?series=500980","date":"2026-04-22T10:31:24","name":"scoped_conflicts","version":1,"mbox":"http://patchwork.ozlabs.org/series/500980/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2226262/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2226262/checks/","tags":{},"related":[],"headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org; dmarc=none (p=none dis=none)\n header.from=forge-stage.sourceware.org","sourceware.org;\n spf=pass smtp.mailfrom=forge-stage.sourceware.org","server2.sourceware.org;\n arc=none smtp.remote-ip=38.145.34.39"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g0wz42t5Bz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 20:52:16 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 3992340A1EB9\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 22 Apr 2026 10:52:10 +0000 (GMT)","from forge-stage.sourceware.org (vm08.sourceware.org [38.145.34.39])\n by sourceware.org (Postfix) with ESMTPS id B835B4B920F2\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 10:32:22 +0000 (GMT)","from forge-stage.sourceware.org (localhost [IPv6:::1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256)\n (No client certificate requested)\n by forge-stage.sourceware.org (Postfix) with ESMTPS id 8DD2742B24\n for <gcc-patches@gcc.gnu.org>; Wed, 22 Apr 2026 10:32:22 +0000 (UTC)"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 3992340A1EB9","OpenDKIM Filter v2.11.0 sourceware.org B835B4B920F2"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org B835B4B920F2","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org B835B4B920F2","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776853942; cv=none;\n b=BKJza0GHjIOokwafUCJ8Xxz7Npzw0EINbApglMSObb9u07FB9YwS0zd0Fk6+DJOaM3P3hZdGPM+c/DTrwWlj+02iGoBeI52Yxp+4JNZRIkFWHtfYskXVoOd4dznZhaXkyPKRLCERDgMTTwjCOBirzVfvrkyKbXoUR+g8/pMHVew=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776853942; c=relaxed/simple;\n bh=BUDVbhgLwITb9ElwVvDXoA+ZTdgNwE7SnvvvfIa7sOA=;\n h=From:Date:Subject:To:Message-ID;\n b=q7pT2YbqOAnApWtMQW5OiBkoLToE7SbaYlPD+d6/e227rFyFuTFKI0BxJu+MGT7h87LP1Z96QcaFM8+4T78rkHqI4Qdagb2sKtGoIAkO8qmf7le6pHQe5XVWX2gKSCG3d+tozLPBIsx7YH/4RIe4Iq5payQ2U2D+R1iHgn+Ovko=","ARC-Authentication-Results":"i=1; server2.sourceware.org","From":"Andrew Pinski via Sourceware Forge\n <forge-bot+pinskia@forge-stage.sourceware.org>","Date":"Wed, 22 Apr 2026 10:31:24 +0000","Subject":"[PATCH v1 1/4] md-files: Add a note about escaped quotes in braced\n strings in md files","To":"gcc-patches mailing list <gcc-patches@gcc.gnu.org>","Message-ID":"\n <bmm.hhubeob5uw.gcc.gcc-TEST.pinskia.21.1.1@forge-stage.sourceware.org>","X-Mailer":"batrachomyomachia","X-Pull-Request-Organization":"gcc","X-Pull-Request-Repository":"gcc-TEST","X-Pull-Request":"https://forge.sourceware.org/gcc/gcc-TEST/pulls/21","References":"\n <bmm.hhubeob5uw.gcc.gcc-TEST.pinskia.21.1.0@forge-stage.sourceware.org>","In-Reply-To":"\n <bmm.hhubeob5uw.gcc.gcc-TEST.pinskia.21.1.0@forge-stage.sourceware.org>","X-Patch-URL":"\n https://forge.sourceware.org/pinskia/gcc-TEST/commit/f8c07d225c3ab41cf87cab2cf95b8dfe77361336","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Reply-To":"gcc-patches mailing list <gcc-patches@gcc.gnu.org>,\n pinskia@gcc.gnu.org","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"},"content":"From: Andrew Pinski <quic_apinski@quicinc.com>\n\nWhile looking into PR 33532, It was noted that \\\" would be treated\nstill as \" for braced strings in the md file. I think that is still\nthe correct thing to do. So let's just a note to the documentation\non this behavior and NOT change read-md.cc (read_braced_string).\nSince this behavior has been there for the last 23 years and only\none person ran into this behavior and helped with the conversion\nfrom using quoted strings to braced strings; that is you just need\nto remove the quote around the brace rather than change all of the\ncode.\n\nBuild the documentation to make sure it looks correct.\n\ngcc/ChangeLog:\n\n\t* doc/rtl.texi: Add a note about quotes in braced strings.\n\nSigned-off-by: Andrew Pinski <quic_apinski@quicinc.com>\n---\n gcc/doc/rtl.texi | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)","diff":"diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi\nindex 5debd6245f0c..41dfc27c899e 100644\n--- a/gcc/doc/rtl.texi\n+++ b/gcc/doc/rtl.texi\n@@ -85,7 +85,10 @@ appear, it is also valid to write a C-style brace block.  The entire\n brace block, including the outermost pair of braces, is considered to be\n the string constant.  Double quote characters inside the braces are not\n special.  Therefore, if you write string constants in the C code, you\n-need not escape each quote character with a backslash.\n+need not escape each quote character with a backslash. Note escaped quotes\n+are treated the same as a plain quote character and if you need a escaped\n+quote in a C string, you need an extra backslash to escape the backslash\n+like @code{\"a=\\\\\"c\\\\\";\"}.\n \n A vector contains an arbitrary number of pointers to expressions.  The\n number of elements in the vector is explicitly present in the vector.\n","prefixes":["v1","1/4"]}