Patchwork [v3,16/18] remove last reference to TREE_GIMPLE_H

login
register
mail settings
Submitter Tom Tromey
Date Aug. 20, 2013, 1:59 p.m.
Message ID <1377007156-540-17-git-send-email-tromey@redhat.com>
Download mbox | patch
Permalink /patch/268539/
State New
Headers show

Comments

Tom Tromey - Aug. 20, 2013, 1:59 p.m.
There is a single reference to TREE_GIMPLE_H in the source tree.
Since it is not defined anywhere, we might as well remove the use.

	* config/i386/t-i386 (i386.o): Don't use TREE_GIMPLE_H.
---
 gcc/config/i386/t-i386 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Paolo Bonzini - Sept. 16, 2013, 3:19 p.m.
Il 20/08/2013 15:59, Tom Tromey ha scritto:
> There is a single reference to TREE_GIMPLE_H in the source tree.
> Since it is not defined anywhere, we might as well remove the use.
> 
> 	* config/i386/t-i386 (i386.o): Don't use TREE_GIMPLE_H.
> ---
>  gcc/config/i386/t-i386 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/config/i386/t-i386 b/gcc/config/i386/t-i386
> index 07624cc..a26edda 100644
> --- a/gcc/config/i386/t-i386
> +++ b/gcc/config/i386/t-i386
> @@ -22,7 +22,7 @@ i386.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \
>    $(INSN_ATTR_H) $(FLAGS_H) $(C_COMMON_H) except.h $(FUNCTION_H) \
>    $(RECOG_H) $(EXPR_H) $(OPTABS_H) toplev.h $(BASIC_BLOCK_H) \
>    $(GGC_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h $(CGRAPH_H) \
> -  $(TREE_GIMPLE_H) $(DWARF2_H) $(DF_H) tm-constrs.h $(PARAMS_H) \
> +  $(DWARF2_H) $(DF_H) tm-constrs.h $(PARAMS_H) \
>    i386-builtin-types.inc debug.h dwarf2out.h sbitmap.h $(FIBHEAP_H) \
>    $(OPTS_H) $(DIAGNOSTIC_H) $(COMMON_TARGET_H) $(CONTEXT_H) $(PASS_MANAGER_H)
>  
> 

Could it be for gimple.h?

Paolo
Tom Tromey - Sept. 16, 2013, 4:05 p.m.
Tom> There is a single reference to TREE_GIMPLE_H in the source tree.
Tom> Since it is not defined anywhere, we might as well remove the use.

Paolo> Could it be for gimple.h?

Good catch, it seems to be.
Rather than fix that, it is simple to just drop all these dependencies
from t-i386.  I'll do that in the next round.

Tom

Patch

diff --git a/gcc/config/i386/t-i386 b/gcc/config/i386/t-i386
index 07624cc..a26edda 100644
--- a/gcc/config/i386/t-i386
+++ b/gcc/config/i386/t-i386
@@ -22,7 +22,7 @@  i386.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h dumpfile.h $(TM_H) \
   $(INSN_ATTR_H) $(FLAGS_H) $(C_COMMON_H) except.h $(FUNCTION_H) \
   $(RECOG_H) $(EXPR_H) $(OPTABS_H) toplev.h $(BASIC_BLOCK_H) \
   $(GGC_H) $(TARGET_H) $(TARGET_DEF_H) langhooks.h $(CGRAPH_H) \
-  $(TREE_GIMPLE_H) $(DWARF2_H) $(DF_H) tm-constrs.h $(PARAMS_H) \
+  $(DWARF2_H) $(DF_H) tm-constrs.h $(PARAMS_H) \
   i386-builtin-types.inc debug.h dwarf2out.h sbitmap.h $(FIBHEAP_H) \
   $(OPTS_H) $(DIAGNOSTIC_H) $(COMMON_TARGET_H) $(CONTEXT_H) $(PASS_MANAGER_H)