------- Comment #12 from jakub at gcc dot gnu dot org  2008-07-28 15:00 -------
There are unneeded {} pairs, when there is just one statement in for/if, you
should just write
  if (something)
    DECL_CONTEXT (x) = current_function_decl;
and similar for
  for (.....)
    if (something)
      DECL_CONTEXT (var) = current_function_decl.

Also, I think it is unnecessary to pass current_function_decl as data to the
callback, current_function_decl is accessible in the callback too.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36767

Reply via email to