http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46583
Alexandre Oliva <aoliva at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED AssignedTo|unassigned at gcc dot |aoliva at gcc dot gnu.org |gnu.org | --- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2010-11-21 07:51:45 UTC --- Mine. The order changed because we discarded the typedef decl from the block scope in the original function. When the time came to clone it, we'd remap the typedef type after variable a3 of that type, and a3 would not be nonlocalized, whereas with debug info we retained the typedef, cloned the type first, and a3 would be nonlocalized. The patch I'm going to attach momentarily fixes this by keeping the typedef around.