This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] More places where not to include output.h
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 4 Jun 2012 11:43:57 +0200
- Subject: Re: [patch] More places where not to include output.h
- References: <CABu31nPy6e74_cbqKZObxmA3d7T5tJSausMOS_DCqZ2iCcefAg@mail.gmail.com>
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