* lto-plugin.c (dump_symtab): Correct printf argument type.
(finish_conflict_resolution): Initialize resolution.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165310
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-10-11 Kai Tietz <kai.tietz@onevision.com>
+
+ * lto-plugin.c (dump_symtab): Correct printf argument type.
+ (finish_conflict_resolution): Initialize resolution.
+
2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
PR bootstrap/45951
assert (resolution != LDPR_UNKNOWN);
- fprintf (f, "%d %x %s %s\n", slot, symtab->aux[j].id,
+ fprintf (f, "%u %x %s %s\n", (unsigned int) slot, symtab->aux[j].id,
lto_resolution_str[resolution],
symtab->syms[j].name);
}
for (i = 0; i < symtab->nsyms; i++)
{
- int resolution;
+ int resolution = LDPR_UNKNOWN;
if (symtab->aux[i].next_conflict == -1)
continue;