This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] More places where not to include output.h


On Mon, Jun 4, 2012 at 10:38 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hello,
>
> With the attached patch to move some non-output related prototypes
> from output.h to tree.h, another batch of #include output.h cleanups
> is possible.
>
> After this patch, only 9 front-end files (out of 210 *.{c,cc,h} files)
> still include output.h:
>
> c-family/c-cppbuiltin.c:#include "output.h" ? ? ? ? ? ? /* For
> user_label_prefix. ?*/
> c-family/c-lex.c:#include "output.h" /* for asm_out_file */
> c-family/c-pch.c:#include "output.h" /* for asm_out_file */
> cp/decl.c:#include "output.h" /* for have_global_bss_p */
> objc/objc-next-runtime-abi-01.c:#include "output.h" /* for asm_out_file */
> ada/gcc-interface/trans.c:#include "output.h"
> ada/gcc-interface/utils.c:#include "output.h"
> go/go-backend.c:#include "output.h" ? ? /* for assemble_string */
> java/class.c:#include "output.h" /* for switch_to_section and get_section */
>
> Bootstrapped (with ada) on powerpc64-unknown-linux-gnu. OK?

Ok.

Thanks,
Richard.

> Ciao!
> Steven


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]