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

--- Comment #129 from Jan Hubicka <hubicka at gcc dot gnu.org> 2012-05-11 
19:05:19 UTC ---
OK, the slow part of uniuqify_nodes is:
          /* Remove us from our main variant list if we are not the
             variant leader.  */
          if (TYPE_MAIN_VARIANT (t) != t)
            { 
              tem = TYPE_MAIN_VARIANT (t);
              while (tem && TYPE_NEXT_VARIANT (tem) != t)
                tem = TYPE_NEXT_VARIANT (tem);
              if (tem)
                TYPE_NEXT_VARIANT (tem) = TYPE_NEXT_VARIANT (t);
              TYPE_NEXT_VARIANT (t) = NULL_TREE;
            }

Reply via email to