[PATCH] PR 68366 - include emit-rtl.h in sdbout.c
tbsaunde+gcc@tbsaunde.org
tbsaunde+gcc@tbsaunde.org
Mon Nov 16 02:25:00 GMT 2015
From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
Some of the pa target macros rely on macros in emit-rtl.h and sdbout.c
uses some of those macros, which means that sdbout.c needs to include
emit-rtl.h.
this seems obvious, bootstrapped on x86_64-linux-gnu, and checked that a cross
to hppa-linux now builds so committing to trunk.
I noticed that gcc-order-headers already wanted to reorder includes so I didn't
worry about the oorder here, we can clean that up later easily anyway.
Trev
gcc/ChangeLog:
2015-11-15 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
PR middle-end/68366
* sdbout.c: Include emit-rtl.h and function.h.
---
gcc/sdbout.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index f22bc7c..09fa06e 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -68,6 +68,8 @@ static GTY(()) bool sdbout_initialized;
#include "rtl.h"
#include "regs.h"
+#include "function.h"
+#include "emit-rtl.h"
#include "flags.h"
#include "insn-config.h"
#include "reload.h"
--
2.1.4
More information about the Gcc-patches
mailing list