Running gcc with -fdump-tree-all to get the gimple dumps, I see duplicate statements in the .003t.original dump:
[bug.c] int foo () { char *c = 0; return 0; } [bug.c.003t.original] ;; Function foo (foo) ;; enabled by -tree-original { char * c = 0B; char * c = 0B; return 0; } (the fact that the second statement is misaligned is a minor nit). -- Summary: gimple 003t.original dump duplicates initialisation statements Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: bje at gcc dot gnu dot org GCC host triplet: powerpc64-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37075