From patchwork Sun Aug 20 07:26:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Uecker X-Patchwork-Id: 136235 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp2360139vqi; Sun, 20 Aug 2023 00:27:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHsg+B+HJLFjr53+SGEKAroa852t7F2yR+swjWMLQlW93V5j08Oiatj2Xfu6qLtnK+CJzdF X-Received: by 2002:a17:906:73da:b0:98e:16b7:e038 with SMTP id n26-20020a17090673da00b0098e16b7e038mr2756766ejl.23.1692516442518; Sun, 20 Aug 2023 00:27:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692516442; cv=none; d=google.com; s=arc-20160816; b=rJXzz7rSn9l8XK2MNkjCIcseY82lvIRo56u5nvVSFkRtEZf0JZ6C3pSRmzyurSmeJn gaaiMAYp6MmQsuwpE87Bd/Vy9s5qGEmi/XWq4fRoec6F5fpaf2Jp8xIQrfylM9MNkG7C YMC+Sa3UG15P5dlXc67SFTtxOCVlUcVtxvg89+B0Cf/gw7mUxWWEkNI1seVg4Is5t77T Z0fvKH+vA9FPdd9hqvU1hBWyVMC/nBSZVJ1lGsTCRzoKU28qOdGDDicZdIn56BLUlNGF wG4n7LBh5X9xckYzhKbzXv988s2Dq7EHHZYwCJMU6kuk3Z54s2arYRXy5KzFKNcoo8MQ 3iJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:user-agent:date:cc:to :subject:message-id:dkim-filter:dmarc-filter:delivered-to :dkim-signature:dkim-filter; bh=RojjKiODiJHBES7GM94bzcCoSfFGQZKi0B9JIyShRaY=; fh=e0LaEQA2nHOpozjcapEX4e/Bs2hDL5Mb2fytDISnta4=; b=Y3CKN7/ddzyMAXBEQquLTq/66Uo+wJNK8gptznbRuVYsXc+3FOU8C88aP4Pd3g07lD ZvelcCNDX7O7Qi/q0DftTpdTVJomGoVgjPcuy8E98EcjA7ikaW693SM4r+DnIltV9wXV 1mcZjF0vKP7TSowj3RABRm6ivMvz82NHRFJaWdblxthq6Pz1QSPt0g2uiNyF1ZG5kNTu /tJAyQcjTIgK3EjniCbHBfLTBXUFX49zTKkKLtpKxMWcwtzsNpgPAy+Z3hx/fZBAuiTz ITzRe6MI6Wsg/H2ris1PD9LgkyP8Gm4aZTNJ1nGbcTWUSFrmKLNZkTAPyNfIvkBHfbnt fMHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=ff5+A2k4; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id gt12-20020a170906f20c00b0099d8822862bsi3873017ejb.54.2023.08.20.00.27.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Aug 2023 00:27:22 -0700 (PDT) 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=@gcc.gnu.org header.s=default header.b=ff5+A2k4; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 74B2038582A1 for ; Sun, 20 Aug 2023 07:27:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 74B2038582A1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692516439; bh=RojjKiODiJHBES7GM94bzcCoSfFGQZKi0B9JIyShRaY=; h=Subject:To:Cc:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=ff5+A2k4auhX3JmuL03Cjnf0lj4potpRqMSMQix/XnNrvmjsgnLYCe1EO3KDULPw+ wNAzU/T79wMiFqeDTBmO5zYABBkbFB/O0T3v/I3VP9P9CqxjoGMKhYLjIJrCBYKQfj IururiVLqE0aIeupWglI3FbqYWn14EFKvpUp3vbk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mailrelay.tugraz.at (mailrelay.tugraz.at [129.27.2.202]) by sourceware.org (Postfix) with ESMTPS id 6FAF13858431 for ; Sun, 20 Aug 2023 07:26:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6FAF13858431 Received: from vra-173-126.tugraz.at (vra-173-126.tugraz.at [129.27.173.126]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4RT6c24lbHz1LM05; Sun, 20 Aug 2023 09:26:26 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4RT6c24lbHz1LM05 Message-ID: Subject: [committed] fix misleading identation breaking bootstrap To: gcc-patches@gcc.gnu.org Cc: Tomas Kalibera , Jonathan Yong <10walls@gmail.com> Date: Sun, 20 Aug 2023 09:26:26 +0200 User-Agent: Evolution 3.38.3-1+deb11u2 MIME-Version: 1.0 X-TUG-Backscatter-control: G/VXY7/6zeyuAY/PU2/0qw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, 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: , X-Patchwork-Original-From: Martin Uecker via Gcc-patches From: Martin Uecker Reply-To: Martin Uecker Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774732120883998763 X-GMAIL-MSGID: 1774732120883998763 Committed as obvious. fix misleading identation breaking bootstrap Fix identation issue introduced by 966f3c13 "Fix format attribute for printf". gcc/c-family/ChangeLog: * c-format.cc: Fix identation. diff --git a/gcc/c-family/c-format.cc b/gcc/c-family/c-format.cc index 122ff9bd1cd..b3ef2d44ce9 100644 --- a/gcc/c-family/c-format.cc +++ b/gcc/c-family/c-format.cc @@ -1214,8 +1214,8 @@ check_function_format (const_tree fn, tree attrs, int nargs, skipped_default_format = true; break; } - if (skipped_default_format) - continue; + if (skipped_default_format) + continue; } if (warn_format)