@@ -2222,13 +2221,11 @@ sem_variable::merge (sem_item *alias_item)
     }

   /* We can not merge if address comparsion metters.  */
-  if (original_address_matters && alias_address_matters
-      && flag_merge_constants < 2)
+  if (alias_address_matters && flag_merge_constants < 2)
     {
       if (dump_file)
  fprintf (dump_file,
- "Not unifying; "
- "adress of original and alias may be compared.\n\n");
+ "Not unifying; adress of original may be compared.\n\n");
 ^^^ address not adress
       return false;
     }

The dump file message contains a typo: address not adress.

+/* { dg-final { scan-ipa-dump "Not unifying; adress of original may
be compared." "icf"  } } */

Similarly, the testcase needs to be updated to match.

Thanks, David

Reply via email to