for  gcc/ChangeLog
from  Alexandre Oliva  <aoliva@redhat.com>

	* tree-vrp.c (compare_case_labels): Use LABEL_DECL_UID.

Index: gcc/tree-vrp.c
===================================================================
--- gcc/tree-vrp.c.orig	2010-10-08 07:36:36.668853265 -0300
+++ gcc/tree-vrp.c	2010-10-08 07:42:52.872769933 -0300
@@ -4658,8 +4658,8 @@ compare_case_labels (const void *p1, con
 {
   const_tree const case1 = *(const_tree const*)p1;
   const_tree const case2 = *(const_tree const*)p2;
-  unsigned int uid1 = DECL_UID (CASE_LABEL (case1));
-  unsigned int uid2 = DECL_UID (CASE_LABEL (case2));
+  unsigned int uid1 = LABEL_DECL_UID (CASE_LABEL (case1));
+  unsigned int uid2 = LABEL_DECL_UID (CASE_LABEL (case2));
 
   if (uid1 < uid2)
     return -1;
