2013-01-30 Richard Biener <rguenther@suse.de>
PR lto/56147
* lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN
check.
From-SVN: r195575
+2013-01-30 Richard Biener <rguenther@suse.de>
+
+ PR lto/56147
+ * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN
+ check.
+
2013-01-30 Georg-Johann Lay <avr@gjlay.de>
PR tree-optimization/56064
else if (TREE_CODE (prevailing->symbol.decl) == FUNCTION_DECL)
{
for (e = first; e; e = e->symbol.next_sharing_asm_name)
- if (DECL_BUILT_IN (e->symbol.decl))
+ if (TREE_CODE (e->symbol.decl) == FUNCTION_DECL
+ && DECL_BUILT_IN (e->symbol.decl))
{
prevailing = e;
break;