work around a mysterious compiler crash

This commit is contained in:
Wolfgang Thaller 2017-04-12 11:54:30 +02:00
parent 4564e9e774
commit 17d92f98a3

View File

@ -33791,7 +33791,8 @@ rs6000_xcoff_declare_object_name (FILE *file, const char *name, tree decl)
struct declare_alias_data data = {file, false};
RS6000_OUTPUT_BASENAME (file, name);
fputs (":\n", file);
symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
if(symtab_node::get (decl))
symtab_node::get (decl)->call_for_symbol_and_aliases (rs6000_declare_alias, &data, true);
}
/* Overide the default 'SYMBOL-.' syntax with AIX compatible 'SYMBOL-$'. */