* [PATCH] PR 68366 - include emit-rtl.h in sdbout.c
@ 2015-11-16 2:25 tbsaunde+gcc
2015-11-16 21:00 ` Jeff Law
0 siblings, 1 reply; 2+ messages in thread
From: tbsaunde+gcc @ 2015-11-16 2:25 UTC (permalink / raw)
To: gcc-patches
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] PR 68366 - include emit-rtl.h in sdbout.c
2015-11-16 2:25 [PATCH] PR 68366 - include emit-rtl.h in sdbout.c tbsaunde+gcc
@ 2015-11-16 21:00 ` Jeff Law
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2015-11-16 21:00 UTC (permalink / raw)
To: tbsaunde+gcc, gcc-patches
On 11/15/2015 07:27 PM, tbsaunde+gcc@tbsaunde.org wrote:
> 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.
Which PA targets? I'm regularly building PA crosses and haven't
stumbled over this.
jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-16 21:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-16 2:25 [PATCH] PR 68366 - include emit-rtl.h in sdbout.c tbsaunde+gcc
2015-11-16 21:00 ` Jeff Law
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).