From patchwork Tue Nov 13 07:39:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Include tm_p.h in asan.c Date: Mon, 12 Nov 2012 21:39:05 -0000 From: Jakub Jelinek X-Patchwork-Id: 198551 Message-Id: <20121113073905.GU1886@tucnak.redhat.com> To: David Edelsohn Cc: GCC Patches On Mon, Nov 12, 2012 at 10:13:08PM -0500, David Edelsohn wrote: > gcc/asan.c probably should have been split into two files because it > works at multiple levels. But given that it invokes > ASM_GENERATE_INTERNAL_LABEL, it needs to include tm_p.h to include > -protos.h. > > Committed as obvious to allow AIX bootstrap to proceed. > > * asan.c: Include tm_p.h Thanks, but Makefile.in needs to be adjusted accordingly too. Committed as obvious. 2012-11-13 Jakub Jelinek * Makefile.in (asan.o): Depend on $(TM_P_H). Jakub --- gcc/Makefile.in.jj 2012-11-12 16:58:42.000000000 +0100 +++ gcc/Makefile.in 2012-11-13 08:36:41.470663811 +0100 @@ -2211,7 +2211,7 @@ stor-layout.o : stor-layout.c $(CONFIG_H asan.o : asan.c asan.h $(CONFIG_H) $(SYSTEM_H) $(GIMPLE_H) \ output.h coretypes.h $(GIMPLE_PRETTY_PRINT_H) \ tree-iterator.h $(TREE_FLOW_H) $(TREE_PASS_H) \ - $(TARGET_H) $(EXPR_H) $(OPTABS_H) + $(TARGET_H) $(EXPR_H) $(OPTABS_H) $(TM_P_H) tree-ssa-tail-merge.o: tree-ssa-tail-merge.c \ $(SYSTEM_H) $(CONFIG_H) coretypes.h $(TM_H) $(BITMAP_H) \ $(FLAGS_H) $(TM_P_H) $(BASIC_BLOCK_H) \