This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[tuples] Rename gs.def to gimple.def
- From: Diego Novillo <dnovillo at google dot com>
- To: gcc-patches at gcc dot gnu dot org, Aldy Hernandez <aldyh at redhat dot com>, Christopher Matthews <chrismatthews at google dot com>
- Date: Thu, 21 Jun 2007 16:03:10 -0400
- Subject: [tuples] Rename gs.def to gimple.def
I find gimple.def a lot more descriptive than the cryptic gs.def. Aldy
didn't mind the change.
2007-06-21 Diego Novillo <dnovillo@google.com>
* gimple.def: Rename from gs.def.
Adjust all users.
Index: gimple-ir.c
===================================================================
--- gimple-ir.c (revision 125926)
+++ gimple-ir.c (working copy)
@@ -31,7 +31,7 @@ Software Foundation, 51 Franklin Street,
#define DEFGSCODE(SYM, NAME) NAME,
const char *const gs_code_name[] = {
-#include "gs.def"
+#include "gimple.def"
};
#undef DEFGSCODE
Index: gimple-ir.h
===================================================================
--- gimple-ir.h (revision 125926)
+++ gimple-ir.h (working copy)
@@ -25,7 +25,7 @@ Software Foundation, 51 Franklin Street,
enum gs_code {
#define DEFGSCODE(SYM, STRING) SYM,
-#include "gs.def"
+#include "gimple.def"
#undef DEFGSCODE
LAST_AND_UNUSED_GS_CODE
};
Index: gs.def
===================================================================
--- gs.def (revision 125925)
+++ gs.def (working copy)
@@ -1,58 +0,0 @@
-/* This file contains the definitions in the gimple IR tuples used in GCC.
-
- Copyright (GS_C) 2007 Free Software Foundation, Inc.
- Contributed by Aldy Hernandez <aldyh@redhat.com>
-
-This file is part of GCC.
-
-GCC is free software; you can redistribute it and/or modify it under
-the terms of the GNU General Public License as published by the Free
-Software Foundation; either version 2, or (GS_at your option) any later
-version.
-
-GCC is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
-for more details.
-
-You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING. If not, write to the Free
-Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301, USA. */
-
-/* The format of this file is
- DEFGSCODE(GS_symbol, printable name).
-
- Where symbol is the enumeration name without the ``GS_''.
- */
-
-DEFGSCODE(GS_BASE, "gs_base")
-DEFGSCODE(GS_WITH_OPS, "gs_with_ops")
-DEFGSCODE(GS_WITH_MEM_OPS, "gs_with_mem_ops")
-DEFGSCODE(GS_OMP, "gs_omp")
-
-DEFGSCODE(GS_BIND, "gs_bind")
-DEFGSCODE(GS_CATCH, "gs_catch")
-DEFGSCODE(GS_EH_FILTER, "gs_eh_filter")
-DEFGSCODE(GS_LABEL, "gs_label")
-DEFGSCODE(GS_PHI, "gs_phi")
-DEFGSCODE(GS_RESX, "gs_resx")
-DEFGSCODE(GS_TRY, "gs_try")
-DEFGSCODE(GS_ASSIGN, "gs_assign")
-DEFGSCODE(GS_COND, "gs_cond")
-DEFGSCODE(GS_GOTO, "gs_goto")
-DEFGSCODE(GS_SWITCH, "gs_switch")
-DEFGSCODE(GS_ASM, "gs_asm")
-DEFGSCODE(GS_CALL, "gs_call")
-DEFGSCODE(GS_NOP, "gs_nop")
-DEFGSCODE(GS_RETURN, "gs_return")
-DEFGSCODE(GS_OMP_CONTINUE, "gs_omp_continue")
-DEFGSCODE(GS_OMP_CRITICAL, "gs_omp_critical")
-DEFGSCODE(GS_OMP_FOR, "gs_omp_for")
-DEFGSCODE(GS_OMP_MASTER, "gs_omp_master")
-DEFGSCODE(GS_OMP_ORDERED, "gs_omp_ordered")
-DEFGSCODE(GS_OMP_PARALLEL, "gs_omp_parallel")
-DEFGSCODE(GS_OMP_RETURN, "gs_omp_return")
-DEFGSCODE(GS_OMP_SECTION, "gs_omp_section")
-DEFGSCODE(GS_OMP_SECTIONS, "gs_omp_sections")
-DEFGSCODE(GS_OMP_SINGLE, "gs_omp_single")
Index: Makefile.in
===================================================================
--- Makefile.in (revision 125926)
+++ Makefile.in (working copy)
@@ -735,7 +735,7 @@ BUILTINS_DEF = builtins.def sync-builtin
TREE_H = tree.h tree.def $(MACHMODE_H) tree-check.h $(BUILTINS_DEF) \
input.h statistics.h vec.h treestruct.def $(HASHTAB_H) \
double-int.h
-GIMPLE_IR_H = gimple-ir.h gs.def gsstruct.def gimple-iterator.h
+GIMPLE_IR_H = gimple-ir.h gimple.def gsstruct.def gimple-iterator.h
BASIC_BLOCK_H = basic-block.h bitmap.h sbitmap.h varray.h $(PARTITION_H) \
hard-reg-set.h cfghooks.h $(OBSTACK_H)
GCOV_IO_H = gcov-io.h gcov-iov.h auto-host.h
@@ -3070,7 +3070,7 @@ build/genautomata.o : genautomata.c $(RT
$(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) errors.h vec.h \
$(HASHTAB_H) gensupport.h
build/gencheck.o : gencheck.c gencheck.h tree.def $(BCONFIG_H) $(GTM_H) \
- $(SYSTEM_H) coretypes.h $(lang_tree_files) gs.def
+ $(SYSTEM_H) coretypes.h $(lang_tree_files) gimple.def
build/genchecksum.o : genchecksum.c $(BCONFIG_H) $(SYSTEM_H) $(MD5_H)
build/gencodes.o : gencodes.c $(RTL_BASE_H) $(BCONFIG_H) $(SYSTEM_H) \
coretypes.h $(GTM_H) errors.h gensupport.h