I think this is a regression from a previous version of 4.0.0 typedef struct { void *ptr1, *ptr2; unsigned word; unsigned word_bit; } bitmap_iterator; void get_call_expr_operands () { bitmap_iterator bi; bi.ptr1 = 0; bi.word = 0; bi.word_bit = 0; start: { bitmap_iterator bi1 = bi; if (bi1.ptr1 != 0) goto start; } }
-- Summary: missed SRA of a block copy Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: missed-optimization, diagnostic Severity: normal Priority: P2 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pinskia at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC target triplet: powerpc-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18268