stabilize switch labels for -fcompare-debug in vrp

Alexandre Oliva aoliva@redhat.com
Wed Oct 13 05:13:00 GMT 2010


On Oct 11, 2010, Richard Guenther <richard.guenther@gmail.com> wrote:

> On Mon, Oct 11, 2010 at 3:05 PM, Alexandre Oliva <aoliva@redhat.com> wrote:
>> Using LABEL_DECL_UIDs instead of DECL_UIDs gets us a stable sort.

> and if the labels get a different DECL_UID I see no reason why they
> shouldn't get a different LABEL_DECL_UID.

> So no, I don't think this is an improvement.

Heh.  It was actually your suggestion, although I hadn't seen it yet :-)

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44832#c35

This is just bug 44832, whose fix hadn't been backported to 4.5.  I'll
test it and install it, unless I hear objections in the next 24 hours or
so.

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer



More information about the Gcc-patches mailing list