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] Include tm_p.h in asan.c


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
> <target>-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  <jakub@redhat.com>

	* Makefile.in (asan.o): Depend on $(TM_P_H).

--- 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) \


	Jakub


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