aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mep/mep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/mep/mep.c')
-rw-r--r--gcc/config/mep/mep.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/config/mep/mep.c b/gcc/config/mep/mep.c
index 3698bb0..bd372d8 100644
--- a/gcc/config/mep/mep.c
+++ b/gcc/config/mep/mep.c
@@ -4071,18 +4071,14 @@ struct GTY(()) pragma_entry {
int flag;
};
-typedef simple_hashmap_traits<nofree_string_hash> pragma_traits;
-
/* Hash table of farcall-tagged sections. */
-static GTY(()) hash_map<const char *, pragma_entry, pragma_traits> *
- pragma_htab;
+static GTY(()) hash_map<nofree_string_hash, pragma_entry> *pragma_htab;
static void
mep_note_pragma_flag (const char *funcname, int flag)
{
if (!pragma_htab)
- pragma_htab
- = hash_map<const char *, pragma_entry, pragma_traits>::create_ggc (31);
+ pragma_htab = hash_map<nofree_string_hash, pragma_entry>::create_ggc (31);
bool existed;
const char *name = ggc_strdup (funcname);