mirror of git://gcc.gnu.org/git/gcc.git
re PR lto/56147 (ICE on invalid code in lto_symtab_merge_decls_1)
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
This commit is contained in:
parent
cc06c01d0a
commit
e892936ec2
|
|
@ -1,3 +1,9 @@
|
|||
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
|
||||
|
|
|
|||
|
|
@ -443,7 +443,8 @@ lto_symtab_merge_decls_1 (symtab_node first)
|
|||
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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue