gcc/ChangeLog:
2015-05-19 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
PR c++/65835
* config/i386/winnt.c (struct wrapped_symbol_hasher): Change
value_type to const char *.
From-SVN: r223423
+2015-05-19 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
+ PR c++/65835
+ * config/i386/winnt.c (struct wrapped_symbol_hasher): Change
+ value_type to const char *.
+
2015-05-19 Sandra Loosemore <sandra@codesourcery.com>
* config.gcc [powerpc*-*-linux*]: Allow --enable-targets=all
struct wrapped_symbol_hasher : typed_noop_remove <char>
{
- typedef char *value_type;
- typedef char *compare_type;
+ typedef const char *value_type;
+ typedef const char *compare_type;
static inline hashval_t hash (const char *);
static inline bool equal (const char *, const char *);
- static inline void remove (char *);
+ static inline void remove (const char *);
};
inline hashval_t