2018-10-24 Richard Biener <rguenther@suse.de>
* varasm.c (const_hash_1): Return hash of ADDR_EXPR
if its argument is CONSTANT_CLASS_P.
From-SVN: r265462
+2018-10-24 Richard Biener <rguenther@suse.de>
+
+ * varasm.c (const_hash_1): Return hash of ADDR_EXPR
+ if its argument is CONSTANT_CLASS_P.
+
2018-10-11 Jan Hubicka <hubicka@ucw.cz>
* ipa-utils.h (type_with_linkage_p): No longer check for TYPE_STUB_DECL;
}
case ADDR_EXPR:
+ if (CONSTANT_CLASS_P (TREE_OPERAND (exp, 0)))
+ return const_hash_1 (TREE_OPERAND (exp, 0));
+
+ /* Fallthru. */
case FDESC_EXPR:
{
struct addr_const value;