------- Comment #15 from pinskia at gcc dot gnu dot org 2006-04-20 16:19 ------- (In reply to comment #14) > The reversal of the DECL_UID (x) = DECL_UID (t); assignment in name-lookup.c > causes
Yes because they are the same decl, if the C++ only uses one decl instead of creating a seperate one, it would just work. Zack's patch did not cause but did expose one issue. Again see PR 20357 for why this was not caused by any of the patches mentioned and why this is a latent bug from before any of the patches mentioned and the correct method is to create one decl with one decl UID and forget about a seperate decl with the copy. Fortran has the same issue and I was trying to fix some of those issue but that work got stalled by me joining Sony and also not having time to work on any of GCC in the last days of college. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26757