Commit 6c38fbc6 by Nathan Sidwell Committed by Nathan Sidwell

ipa-devirt.c (default_hash_traits<type_pair>): Skip struct-scope typedefs.

	* ipa-devirt.c (default_hash_traits<type_pair>): Skip struct-scope
	typedefs.

From-SVN: r247791
parent 684f84de
2017-05-09 Nathan Sidwell <nathan@acm.org>
* ipa-devirt.c (default_hash_traits<type_pair>): Skip struct-scope
typedefs.
2017-05-09 Marek Polacek <polacek@redhat.com>
* doc/invoke.texi: Fix typo.
......
......@@ -138,10 +138,11 @@ struct type_pair
};
template <>
struct default_hash_traits <type_pair> : typed_noop_remove <type_pair>
struct default_hash_traits <type_pair>
: typed_noop_remove <type_pair>
{
typedef type_pair value_type;
typedef type_pair compare_type;
GTY((skip)) typedef type_pair value_type;
GTY((skip)) typedef type_pair compare_type;
static hashval_t
hash (type_pair p)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment