From: Martin Liska Date: Thu, 16 Oct 2014 12:48:36 +0000 (+0200) Subject: IPA ICF fallout: i586 bootstrap failure fix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=105681634d3dd2ae9be713378c49c3a17485f4db;p=gcc.git IPA ICF fallout: i586 bootstrap failure fix * ipa-icf.c (sem_item_optimizer::process_cong_reduction): Cast to unsigned long. (sem_item_optimizer::dump_cong_classes): Likewise. From-SVN: r216319 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5f398d3b940..f1754b47107 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2014-10-16 Martin Liska + + * ipa-icf.c (sem_item_optimizer::process_cong_reduction): + Cast to unsigned long. + (sem_item_optimizer::dump_cong_classes): Likewise. + 2014-10-16 Tom de Vries * tree-into-ssa.c (update_ssa): Assert that there's no ssa use operand diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index 4e73849f1b0..f7510b33975 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -2093,7 +2093,7 @@ sem_item_optimizer::process_cong_reduction (void) if (dump_file) fprintf (dump_file, "Worklist has been filled with: %lu\n", - worklist.size ()); + (unsigned long) worklist.size ()); if (dump_file && (dump_flags & TDF_DETAILS)) fprintf (dump_file, "Congruence class reduction\n"); @@ -2113,7 +2113,7 @@ sem_item_optimizer::dump_cong_classes (void) fprintf (dump_file, "Congruence classes: %u (unique hash values: %lu), with total: %u items\n", - m_classes_count, m_classes.elements(), m_items.length ()); + m_classes_count, (unsigned long) m_classes.elements(), m_items.length ()); /* Histogram calculation. */ unsigned int max_index = 0;