aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRishi Raj <rishiraj45035@gmail.com>2023-07-07 10:15:57 +0530
committerRishi Raj <rishiraj45035@gmail.com>2023-07-07 10:21:38 +0530
commit31ff5e249df46ff122b115c86af04022307fafa4 (patch)
tree7a73bed50ad7ba9a9d3a0f38eea8835ecae132fd
parent48ef456a8ec8b6df2f6e097a55872921b9f9b08c (diff)
lto: Fixed test(U*) used but never defined error.devel/bypass-asm
This Patch fixes the error during bootstrapped build. gcc/ChangeLog: * lto-object.cc: gcc/lto/ChangeLog: * lto-lang.cc: Signed-off-by: Rishi Raj <rishiraj45035@gmail.com>
-rw-r--r--gcc/lto-object.cc1
-rw-r--r--gcc/lto/lto-lang.cc1
2 files changed, 2 insertions, 0 deletions
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"