Message ID | 8bca087d3bfa223fc8413e7b0cc7e5294dfe4b64.1633106213.git.julian@codesourcery.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HLcD74rH0z9t0k for <incoming@patchwork.ozlabs.org>; Sat, 2 Oct 2021 03:14:31 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7FC6C385AC1B for <incoming@patchwork.ozlabs.org>; Fri, 1 Oct 2021 17:14:29 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 7A959385742C for <gcc-patches@gcc.gnu.org>; Fri, 1 Oct 2021 17:10:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7A959385742C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: FmLmNgDZ5oqAoLLtju7YJukxrUlME1ivKMMjhVXeRmPCzXrAeFXt0IID2abU7uKDiMlbCn0u2R QNqKbHKatWZT7gTq+fBwz3ATpj7Q0Gi+oDsS6Ekz3iiZC+NKnujIUd6HtAOwWrQtqddhLmzCP0 DM2ZK3Xj/eMDIGQofoPEl7kMrLDLfAlSHBgoIsffyrvkVCXRd2oi4cI6WaF4S1pZrM7W0wgN2I ATG8y7W6nQyTfhJERx0/rfSO9Mql0MUg3PTnQRIWrsXv5gH7I9SXF/MzRujHpZO4ZzSK0zcQPW sPfAdj9xnEaJbXlomvUJc6NV X-IronPort-AV: E=Sophos;i="5.85,339,1624348800"; d="scan'208";a="66622524" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 01 Oct 2021 09:10:20 -0800 IronPort-SDR: oLDiX+FSc9EM9T1qBPncyMZVKnbt3No/oQJlxiUubbuvDbAw+ZCBsSKK+W59CSr9cSfNWUdaK6 qDQXA8OUp4Gk3RdgibhFyETGLKfY4TWYMZ5q5YfAK9OnLBBvZxFV0SoyjCNgTnucF0ZfuQSKS1 ZCt2d7gkekFG09tDP4UUoXLCKU4i2IBHBTWjQ8Hw58QJbdh2bHQyCyO+UXi/e3/Ez1EAU0NTEY dLtt5kgZjliQgly91I6OLKgXvntNNnoOaWYjyc21Zk0qU2xgOQwq2t8pSBaIPGro8GpwKh4+cb OYk= From: Julian Brown <julian@codesourcery.com> To: <gcc-patches@gcc.gnu.org> Subject: [PATCH 11/11] OpenMP/OpenACC: [WIP] Add gcc_unreachable to apparently-dead path in build_struct_comp_nodes Date: Fri, 1 Oct 2021 10:10:09 -0700 Message-ID: <8bca087d3bfa223fc8413e7b0cc7e5294dfe4b64.1633106213.git.julian@codesourcery.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <cover.1633106212.git.julian@codesourcery.com> References: <cover.1633106212.git.julian@codesourcery.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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 <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <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>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Cc: Jakub Jelinek <jakub@redhat.com>, Thomas Schwinge <thomas@codesourcery.com> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> |
Series |
OpenMP: Deep struct dereferences
|
expand
|
diff --git a/gcc/gimplify.c b/gcc/gimplify.c index d9fda21413d..3d444d1836f 100644 --- a/gcc/gimplify.c +++ b/gcc/gimplify.c @@ -8625,6 +8625,9 @@ build_struct_comp_nodes (enum tree_code code, tree grp_start, tree grp_end, OMP_CLAUSE_SIZE (c3) = TYPE_SIZE_UNIT (ptr_type_node); OMP_CLAUSE_CHAIN (c3) = NULL_TREE; + /* Apparently? */ + gcc_unreachable (); + *extra_node = c3; } else