From patchwork Fri Feb 17 12:34:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 58542 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp860184wrn; Fri, 17 Feb 2023 04:35:00 -0800 (PST) X-Google-Smtp-Source: AK7set9B8tIrifrBnI7ImYXDjb6bHfAgqTeQSgrrzR8W5j6j4nkIPZKrjQvYGxOEwy20jtwa3uCo X-Received: by 2002:a17:907:7e9d:b0:8a9:e031:c4b7 with SMTP id qb29-20020a1709077e9d00b008a9e031c4b7mr12382565ejc.4.1676637300231; Fri, 17 Feb 2023 04:35:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676637300; cv=none; d=google.com; s=arc-20160816; b=QYiH6QCzwtKXA4NHnSASH3CywKvpZvUDlI6U/WR3ZqxbphXW3HKVqQX9xT560xzBSf d+CdxtnIZ2ggT9Fso+gdv4Vbn0IccB6HpEnI7OzZsCi4deKFEKvZwww12R6mrxHwlP5S PedDNk6g5+W4xD6cW/ZxjjQNoacEP/c0RZFeKyl/gzltP8bUaGNjfOfsoD3ofOrEj7jO ZVG3HZfgapg+l169bJTukAo4l4U7D2b0rjbi765JiYRG/Zk2mhrrPWAWEaKT+LgxBA3O 8808WM8A4TKK0QxNdhATUhpa9LBw3S/bCKfBE5yw+1SX/iSEQQer0QqBvxQZZ5CYJLx0 tyFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:cc:to:from:dkim-signature:dmarc-filter :delivered-to; bh=nahfr145mzIMfJSwkpkNR6hFXo+Q8ZlDbiUqthNh0vQ=; b=zBHOU7Qvh5Uh3LpTaZdnndPd0/0+XVoYBg93MpU1POfXNOTVWkjpgmnrDmiFAm8aqC q6HT3jUslV8CN80J+XqRDVOHIIuCz2iekqpywbW+LYaOhaSvAwEDQKwRdbbP7fAiMhHr RtLs+2W6Gl2gf1ruzeofLd58I5K0GsLqvd2pvh//oybTxfQ3+QEVwHSw/GZgzpKKFwCZ 9qXlXEQdtzFPmvjn9+jOzcviQHWrvYtLoWp/+KTbnsWKdXFjFoMVF24HOkbY/LNZTfwp NKKbdmIvfFag1O6KZgin0uLh5alMDuNUajNbT3HQntdC3T0PznIVw92PbAhEemPwRhJL SQ2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CeBiTec.Uni-Bielefeld.DE header.s=20200306 header.b=OIKHBDoA; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id fc19-20020a1709073a5300b008b17b550d11si2697966ejc.382.2023.02.17.04.35.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 04:35:00 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@CeBiTec.Uni-Bielefeld.DE header.s=20200306 header.b=OIKHBDoA; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 784E738493C6 for ; Fri, 17 Feb 2023 12:34:56 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 3EEB83858C31 for ; Fri, 17 Feb 2023 12:34:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3EEB83858C31 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=cebitec.uni-bielefeld.de Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id E5975B968F; Fri, 17 Feb 2023 13:34:27 +0100 (CET) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vat2z4bQzyAs; Fri, 17 Feb 2023 13:34:27 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p5085574e.dip0.t-ipconnect.de [80.133.87.78]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id 82E9EB90FD; Fri, 17 Feb 2023 13:34:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=CeBiTec.Uni-Bielefeld.DE; s=20200306; t=1676637267; bh=/363dtPR7nVmNylnXfVTPJ2xJx+N/ZMlflFN7seGz5c=; h=From:To:Cc:Subject:Date:From; b=OIKHBDoAREmbrp6EONBOsz4YrxO+I9wyjLplLsLho/sgdlAsYwbGPEA9ebuasxVrs OHVFAupdJJNdkWUv2/6VcJ49inqz2L852z6bPTTB0KIbW3WItxxtX5M/8wj7rx/3zi ez1YfILso69ccD+lH/Nq18GNy4JnYwA9H63BdDFBeltPX49H7WTInUA3iwwYO9j//6 3yil2iN7oHUWx3r6CcKBcVg9SjZ2EoUx7QevshKi1qScpRTgW0NUqffFIGXs9EMz0r bZxXI3wHpf/xNxVq+VQrqsXsqdyiK1RBBdNMYRDby1UrJOSHT8LevPQ9fMqhLeAfGu hB4FVvrpKdSKA== From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Petr Sumbera Subject: [COMMITTED] contrib: Fix make_sunver.pl warning Date: Fri, 17 Feb 2023 13:34:27 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 X-Spam-Status: No, score=-3795.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758081633470385570?= X-GMAIL-MSGID: =?utf-8?q?1758081633470385570?= Petr informed me that perl 5.32 bundled with Solaris 11.4 warns about make_sunver.pl: Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/^([ \t]*){ <-- HERE $/ at /vol/gcc/src/hg/master/local/libgomp/../contrib/make_sunver.pl line 216. I didn't notice since I'm using a common installation of perl 5.12 across Solaris versions that doesn't show that warning. His patch fixes the issue. Tested on Solaris 11.3 (perl 5.12) and 11.4 (perl 5.32). Committed to trunk. Rainer # HG changeset patch # Parent a9c533b97d6828dce4fa8418864a1fa65f5c46b3 contrib: Fix make_sunver.pl warning diff --git a/contrib/make_sunver.pl b/contrib/make_sunver.pl --- a/contrib/make_sunver.pl +++ b/contrib/make_sunver.pl @@ -213,7 +213,7 @@ while () { if (/^[ \t]*$/) { print; next; } # Lines of the form '{' - if (/^([ \t]*){$/) { + if (/^([ \t]*)\{$/) { if ($in_extern) { print "$1##{\n"; } else {