https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122058

--- Comment #41 from Jan Hubicka <hubicka at gcc dot gnu.org> ---
+  PROF_64 = [obj_type_ref] OBJ_TYPE_REF(_12;(struct
ModifierStore)prephitmp_74->2B);
+  if (PROF_64 ==
_ZThn8_NK3icu6number4impl15LongNameHandler11getModifierENS1_6SignumENS_14StandardPlural4FormE.localalias)
+    goto <bb 8>; [24.00%]
+  else
+    goto <bb 9>; [76.00%]
+
+  <bb 8> [local count: 229067787]:

....

+  goto <bb 13>; [100.00%]
+
+  <bb 9> [local count: 725381317]:
+  PROF_68 = [obj_type_ref] OBJ_TYPE_REF(_12;(struct
ModifierStore)prephitmp_74->2B);

We definitely miss optimization here; PROF_68 is the same as PROF_64. I suppose
FRE is confused by OBJ_TYPE_REF?

Reply via email to