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? Ciao! Steven
cleanup_output_h_includes_2.diff
Description: Binary data