]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/cp/typeck.c
* read-rtl.c (parse_reg_note_name): Replace Yoda conditions with
[thirdparty/gcc.git] / gcc / cp / typeck.c
index 390aa1580bd1f01b95943d7cf0693c560d16b9fd..d6e235eb2b54cedc0d06ce8f334c162d05cb44cc 100644 (file)
@@ -214,7 +214,7 @@ commonparms (tree p1, tree p2)
        }
       else
        {
-         if (1 != simple_cst_equal (TREE_PURPOSE (p1), TREE_PURPOSE (p2)))
+         if (simple_cst_equal (TREE_PURPOSE (p1), TREE_PURPOSE (p2)) != 1)
            any_change = 1;
          TREE_PURPOSE (n) = TREE_PURPOSE (p2);
        }