From patchwork Fri Jul 7 06:29:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rishi Raj X-Patchwork-Id: 1804611 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=GvOlJaDO; dkim-atps=neutral Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Qy3RR6Sfsz20b8 for ; Fri, 7 Jul 2023 16:30:10 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 43640385800A for ; Fri, 7 Jul 2023 06:30:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 43640385800A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688711408; bh=oM/yFuPt6UpNc9jyxDfZ9kLEq3u8L6TrYrmE38xFWfE=; h=Date:Subject:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=GvOlJaDObq/AAYp0HZBLz88ZSZWQZBz/fw1uc/Iz7lGrR7h31tU0A/bA87vX65nwN 2W6mH7juOr/JI4PT0D7SPIOgbZbRI+mEEMCNNlsnSfPwfWQsyHHPDq+vw5H3uw9B89 qU+wSuhk9QL3+8FKlez0fL3X+ez9PWylNdFOkHAQ= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oo1-xc31.google.com (mail-oo1-xc31.google.com [IPv6:2607:f8b0:4864:20::c31]) by sourceware.org (Postfix) with ESMTPS id 33BDA3858C60 for ; Fri, 7 Jul 2023 06:29:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 33BDA3858C60 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-5657d8ecdd3so1086674eaf.1 for ; Thu, 06 Jul 2023 23:29:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688711388; x=1691303388; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=lDHUH2d2+K/YSOVTgxRJkY+1iQ3XuRxjNbL/o5AkRtY=; b=Eri9XoRW/lj8v02sRWiGfYlZCMr4E07WXnen67ipOM3WDYdtbiJ50B/OJ7MJXPEV3U H5CiZVF2ms2M63r2bYUefVkxdAesmHzX3em7cuifk9O7z3Gi4Nxx7FATLlfeJ57xwl2F cNiwPHdUvKSScogTwQhYJIQBp6ASSCqKJQ0XO/ASdUEluV/4Z8bl6pABfebJ7aoWIoow 6EYpPa8Zds2Bivdiv6eCzqW18+o5AQgk3FR9Lin7qWdI/MhmfIjOBt9/cresq/rGFNOy qoXJVhxlXaXO+PtJD2QLeQT0BYUfxqTssDUz5DFWjp23KL55Cj9kj+4aMrmh8o52JeMS Eieg== X-Gm-Message-State: ABy/qLa17rHDh4+y3hiSum62O0JL5+IZfI/isF5ojkfUds/DNLMxEqjn BKQqo3kjcnMuCoNH7FGV+YtZODNKHswJEq1ASB1UTz1TOY6xOA== X-Google-Smtp-Source: APBJJlFy7LIHdXDlIhntI3l321yIrrmtYJDm8H6ZfOXzFzLZT3c8ebkDoXt2dlVpEb8sU/drz6oj0P/O+WnJDw/U5dw= X-Received: by 2002:a4a:641:0:b0:558:b482:c3b3 with SMTP id 62-20020a4a0641000000b00558b482c3b3mr2734030ooj.1.1688711388291; Thu, 06 Jul 2023 23:29:48 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 7 Jul 2023 11:59:37 +0530 Message-ID: Subject: [PATCH] lto: bypass-asm: Fixed test(U*) used but never defined error. To: gcc-patches@gcc.gnu.org Cc: Martin Jambor , Jan Hubicka X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, 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-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Rishi Raj via Gcc-patches From: Rishi Raj Reply-To: Rishi Raj Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" From 5151cf943987347edbc3707f08f0da8cd9f49f88 Mon Sep 17 00:00:00 2001 From: Rishi Raj Date: Fri, 7 Jul 2023 10:15:57 +0530 Subject: [PATCH] lto: Fixed test(U*) used but never defined error. This Patch fixes the error during bootstrapped build. Signed-off-by: Rishi Raj --- gcc/lto-object.cc | 1 + gcc/lto/lto-lang.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/gcc/lto-object.cc b/gcc/lto-object.cc index 33eca5a7d81..097c81a686e 100644 --- a/gcc/lto-object.cc +++ b/gcc/lto-object.cc @@ -31,6 +31,7 @@ along with GCC; see the file COPYING3. If not see #include "gimple.h" #include "diagnostic-core.h" #include "tm.h" +#include "cgraph.h" #include "lto-streamer.h" #include "lto-section-names.h" #include "simple-object.h" diff --git a/gcc/lto/lto-lang.cc b/gcc/lto/lto-lang.cc index cf33bf178c2..35f60325c80 100644 --- a/gcc/lto/lto-lang.cc +++ b/gcc/lto/lto-lang.cc @@ -26,6 +26,7 @@ along with GCC; see the file COPYING3. If not see #include "basic-block.h" #include "tree.h" #include "gimple.h" +#include "cgraph.h" #include "stringpool.h" #include "diagnostic-core.h" #include "stor-layout.h"