Patchwork [4.7] : Include output.h in lto.c

login
register
mail settings
Submitter Uros Bizjak
Date Feb. 9, 2013, 9:45 a.m.
Message ID <CAFULd4apwWALRoPAE9VF7K48c4-L4kWUPGMo5oXViUOUHkXE4w@mail.gmail.com>
Download mbox | patch
Permalink /patch/219381/
State New
Headers show

Comments

Uros Bizjak - Feb. 9, 2013, 9:45 a.m.
Hello!

We need to #include "output.h" due to the use of %wx in a diagnostic
string. For 4.8 Steven moved "typedef HOST_WIDE_INT
__gcc_host_wide_int__" to hwint.h, but for 4.7 branch we need output.h
for the typedef.

2013-02-09  Uros Bizjak  <ubizjak@gmail.com>

	* lto.c: Include output.h.

Bootstrapped on x86_64-pc-linux-gnu, committed to 4.7 branch as obvious.

Uros.

Patch

Index: lto.c
===================================================================
--- lto.c       (revision 195911)
+++ lto.c       (working copy)
@@ -25,6 +25,7 @@ 
 #include "toplev.h"
 #include "tree.h"
 #include "tree-flow.h"
+#include "output.h"
 #include "diagnostic-core.h"
 #include "tm.h"
 #include "cgraph.h"