diff mbox series

lto: bypass-asm: Fixed test(U*) used but never defined error.

Message ID CA+1a67Mh9wMoNsZV8p1iDUsviNSDuaHkwc-SPjAgo0U-rWaGZw@mail.gmail.com
State New
Headers show
Series lto: bypass-asm: Fixed test(U*) used but never defined error. | expand

Commit Message

Rishi Raj July 7, 2023, 6:29 a.m. UTC
From 5151cf943987347edbc3707f08f0da8cd9f49f88 Mon Sep 17 00:00:00 2001
From: Rishi Raj <rishiraj45035@gmail.com>
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 <rishiraj45035@gmail.com>
---
 gcc/lto-object.cc   | 1 +
 gcc/lto/lto-lang.cc | 1 +
 2 files changed, 2 insertions(+)
diff mbox series

Patch

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"