On 06/25/2015 07:19 AM, Andrew MacLeod wrote:
This patch moves the alias_set_type typedef from alias.h into coretypes.Many common header files depend on the type, such as (but not limited to) gimple.h tree_ssa_alias.h rtl.h tree_core.h emit_rtl.h asan.h langhooks.h A fully flattened branch requires alias.h in 294 source files in libbackend.a. By moving that typedef into coretypes, the need for alias.h is reduced to just 27 files, all of which need the prototypes. I removed alias.h from from a couple of header files which no longer need it. I wont remove it from all the source files until I am slightly further along and do a mass reduction of includes. Bootstraps on x86_64-unknown-linux-gnu with no new regressions. Also builds stage 1 on all the targets in config-list.mk. OK for trunk? Andrew 1-alias.patch * alias.h (alias_set_type): Move typedef. * coretypes.h (alias_set_type): Relocate typedef here. * rtl.h: Don't include alias.h. * jit/jit-common.h: Likewise
OK. jeff
