aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLawrence Crowl <crowl@google.com>2013-04-02 20:13:46 +0000
committerLawrence Crowl <crowl@gcc.gnu.org>2013-04-02 20:13:46 +0000
commit622849c9371e14fcec645c22b87adedaa16e34e4 (patch)
tree596788a44eb77a349315504c9cde0baf74ddafc9
parent82c0e1a0cb62932cce8764ddf098b070c16ba004 (diff)
downloadgcc-622849c9371e14fcec645c22b87adedaa16e34e4.zip
gcc-622849c9371e14fcec645c22b87adedaa16e34e4.tar.gz
gcc-622849c9371e14fcec645c22b87adedaa16e34e4.tar.bz2
Remove unused symbols related to ivtype_map.
Remove unused symbols related to ivtype_map. This map does not appear to exist and I see no evidence of its removal in the ChangeLog. Tested on x86_64. Index: gcc/ChangeLog 2013-04-02 Lawrence Crowl <crowl@google.com> * sese.h (struct ivtype_map_elt_s): Remove unused. (extern debug_ivtype_map): Remove unused. (extern eq_ivtype_map_elts): Remove unused. * sese.c (debug_ivtype_map): Removed unused. (debug_ivtype_map_1): Removed unused. (debug_ivtype_elt): Remove unused. (eq_ivtype_map_elts): Remove unused. From-SVN: r197374
-rw-r--r--gcc/ChangeLog11
-rw-r--r--gcc/sese.c41
-rw-r--r--gcc/sese.h11
3 files changed, 11 insertions, 52 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 10611fe..061d190 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,14 @@
+2013-04-02 Lawrence Crowl <crowl@google.com>
+
+ * sese.h (struct ivtype_map_elt_s): Remove unused.
+ (extern debug_ivtype_map): Remove unused.
+ (extern eq_ivtype_map_elts): Remove unused.
+ * sese.c (debug_ivtype_map): Removed unused.
+ (debug_ivtype_map_1): Removed unused.
+ (debug_ivtype_elt): Remove unused.
+ (eq_ivtype_map_elts): Remove unused.
+
+
2013-04-02 Kai Tietz <ktietz@redhat.com>
PR target/52790
diff --git a/gcc/sese.c b/gcc/sese.c
index 0812831..7102b60 100644
--- a/gcc/sese.c
+++ b/gcc/sese.c
@@ -83,47 +83,6 @@ eq_rename_map_elts (const void *e1, const void *e2)
-/* Print to stderr the element ELT. */
-
-static void
-debug_ivtype_elt (ivtype_map_elt elt)
-{
- fprintf (stderr, "(%s, ", elt->cloog_iv);
- print_generic_expr (stderr, elt->type, 0);
- fprintf (stderr, ")\n");
-}
-
-/* Helper function for debug_ivtype_map. */
-
-static int
-debug_ivtype_map_1 (void **slot, void *s ATTRIBUTE_UNUSED)
-{
- struct ivtype_map_elt_s *entry = (struct ivtype_map_elt_s *) *slot;
- debug_ivtype_elt (entry);
- return 1;
-}
-
-/* Print to stderr all the elements of MAP. */
-
-DEBUG_FUNCTION void
-debug_ivtype_map (htab_t map)
-{
- htab_traverse (map, debug_ivtype_map_1, NULL);
-}
-
-/* Compares database elements E1 and E2. */
-
-int
-eq_ivtype_map_elts (const void *e1, const void *e2)
-{
- const struct ivtype_map_elt_s *elt1 = (const struct ivtype_map_elt_s *) e1;
- const struct ivtype_map_elt_s *elt2 = (const struct ivtype_map_elt_s *) e2;
-
- return (elt1->cloog_iv == elt2->cloog_iv);
-}
-
-
-
/* Record LOOP as occurring in REGION. */
static void
diff --git a/gcc/sese.h b/gcc/sese.h
index 5b6fe7f..8e1f7f7 100644
--- a/gcc/sese.h
+++ b/gcc/sese.h
@@ -275,17 +275,6 @@ new_rename_map_elt (tree old_name, tree expr)
return res;
}
-/* Structure containing the mapping between the CLooG's induction
- variable and the type of the old induction variable. */
-typedef struct ivtype_map_elt_s
-{
- tree type;
- const char *cloog_iv;
-} *ivtype_map_elt;
-
-extern void debug_ivtype_map (htab_t);
-extern int eq_ivtype_map_elts (const void *, const void *);
-
/* Free and compute again all the dominators information. */
static inline void