From patchwork Tue May 17 07:09:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 54062 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B51ED3857376 for ; Tue, 17 May 2022 07:09:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B51ED3857376 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1652771386; bh=jtkwZz8vKJFGNvexD3m6A4O+UtTeiDtFSG8woYfJ/HU=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=q8aRJ2yWW7veo2uDIMxNPBF570aDEQ18gaSZm1vQ3Hl6nBSibCRvSYj2Sl598zyfL 8ckujAm9fGAHEy8EeQ+sZ5aBkanVOstnWtXsYdgGMk54DVmt4yL6/T68E7HAXnxCD9 8wCZg0sTHyu1gJlwXi8Idp9/LWEkt+A2RJH+djso= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id AF6583858C74 for ; Tue, 17 May 2022 07:09:17 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AF6583858C74 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-184-6kn0C2RANvOBJa5oxQcRTQ-1; Tue, 17 May 2022 03:09:14 -0400 X-MC-Unique: 6kn0C2RANvOBJa5oxQcRTQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 878BC100BAA8 for ; Tue, 17 May 2022 07:09:14 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 49EBE403156 for ; Tue, 17 May 2022 07:09:14 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.16.1/8.16.1) with ESMTPS id 24H79Cpu4065970 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Tue, 17 May 2022 09:09:12 +0200 Received: (from jakub@localhost) by tucnak.zalov.cz (8.16.1/8.16.1/Submit) id 24H79Bvf4065969 for gcc-patches@gcc.gnu.org; Tue, 17 May 2022 09:09:11 +0200 Date: Tue, 17 May 2022 09:09:11 +0200 To: gcc-patches@gcc.gnu.org Subject: [committed] forwprop: Fix a typo and comment formatting Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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: Jakub Jelinek via Gcc-patches From: Jakub Jelinek Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" Hi! When looking around the spot of the PR105591 fix, I've noticed a typo and incorrectly formatted comment. Bootstrapped/regtested on x86_64-linux and i668-linux, committed to trunk as obvious. 2022-05-17 Jakub Jelinek * tree-ssa-forwprop.cc (simplify_bitfield_ref): Spelling fix: hanlde -> handle. Fix up comment formatting. Jakub --- gcc/tree-ssa-forwprop.cc.jj 2022-05-13 09:34:24.027146889 +0200 +++ gcc/tree-ssa-forwprop.cc 2022-05-16 11:54:06.704257100 +0200 @@ -2356,14 +2356,14 @@ simplify_bitfield_ref (gimple_stmt_itera code = gimple_assign_rhs_code (def_stmt); elem_type = TREE_TYPE (TREE_TYPE (op0)); type = TREE_TYPE (op); - /* Also hanlde vector type. - .i.e. - _7 = VEC_PERM_EXPR <_1, _1, { 2, 3, 2, 3 }>; - _11 = BIT_FIELD_REF <_7, 64, 0>; + /* Also handle vector type. + .i.e. + _7 = VEC_PERM_EXPR <_1, _1, { 2, 3, 2, 3 }>; + _11 = BIT_FIELD_REF <_7, 64, 0>; - to + to - _11 = BIT_FIELD_REF <_1, 64, 64>. */ + _11 = BIT_FIELD_REF <_1, 64, 64>. */ size = tree_to_poly_uint64 (TYPE_SIZE (type)); if (maybe_ne (bit_field_size (op), size))