On Nov 24, 2007 9:19 PM, Alexandre Oliva <[EMAIL PROTECTED]> wrote: > On Nov 24, 2007, Bernd Schmidt <[EMAIL PROTECTED]> wrote: > > > Alexandre Oliva wrote: > >> And then, despite the consensus that GCC must not generate different > >> code with and without -g, the patch that fixes one such regression has > >> been lingering for months, and the patch that introduced the > >> regression hasn't been reverted either. > > > Pointers? > > Regression introduced here: > > http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01745.html > > first reported here: > > http://gcc.gnu.org/ml/gcc-patches/2007-08/msg00127.html > > last proposed patch here: > > http://gcc.gnu.org/ml/gcc-patches/2007-10/msg00608.html
Well - it's a workaround for a bug that's elsewhere. Generated code shouldn't change if we allocate extra DECL_UIDs, but only possibly if we change DECL_UID ordering. (If that is the problem, as I remember your analysis) Richard.