------- Comment #4 from pault at gcc dot gnu dot org 2006-08-10 04:29 ------- (In reply to comment #3)
> order the declarations.... or something. > > Paul > Having slept on it, I realise that this will not work because the statement order should not matter. I think that there will have to be a final resolution stage to resolve the sym_root symbol tree; assigning each symbol a number, corresponding to it's position in a chain of dependences. Then, trans-decl.c(generate_local_vars) will have to be called within a loop over depency level. I am not sure that I have time to do this right now but I will think some more about it. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28660