http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56294
Bug #: 56294 Summary: BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to bootstrap comparison failure Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassig...@gcc.gnu.org ReportedBy: jamb...@gcc.gnu.org Bootstrapping pristine trunk with BOOT_CFLAGS='-O2 -g -fno-ipa-sra' leads to comparison failure because gcc/tree-ssa-loop-ivopts.o differs. Just switching IPA-SRA on (by a patch) when compiling that file resolves the problem. The failure has been introduced with revision 192848: 2012-10-26 Martin Jambor <mjam...@suse.cz> PR debug/54971 * tree-sra.c (struct access): New flag grp_to_be_debug_replaced. (dump_access): Dump the new flag. (analyze_access_subtree): Set the new flag when appropriate. (create_access_replacement): Handle debug replacements differently. (generate_subtree_copies): Handle the grp_to_be_debug_replaced flag. (init_subtree_with_zero): Likewise. (sra_modify_expr): Likewise. (load_assign_lhs_subreplacements): Likewise. (sra_modify_assign): Likewise. So I'll assign it to myself.