OSDN Git Service

gcc/ChangeLog
[pf3gnuchains/gcc-fork.git] / gcc / ipa-pure-const.c
index b7a8de3..d1fe059 100644 (file)
@@ -533,7 +533,7 @@ check_stmt (gimple_stmt_iterator *gsip, funct_state local, bool ipa)
       for (i = 0; i < gimple_asm_nclobbers (stmt); i++)
        {
          tree op = gimple_asm_clobber_op (stmt, i);
-         if (simple_cst_equal(TREE_VALUE (op), memory_identifier_string) == 1)
+         if (strcmp (TREE_STRING_POINTER (TREE_VALUE (op)), "memory") == 0)
            {
               if (dump_file)
                 fprintf (dump_file, "    memory asm clobber is not const/pure");