PR target/18686
* config/rs6000/rs6000-c.c (rs6000_pragma_longcall): Use
integer_zerop and integer_onep instead of comparing against
canonical trees.
From-SVN: r91360
+2004-11-27 Alan Modra <amodra@bigpond.net.au>
+
+ PR target/18686
+ * config/rs6000/rs6000-c.c (rs6000_pragma_longcall): Use
+ integer_zerop and integer_onep instead of comparing against
+ canonical trees.
+
2004-11-25 Richard Henderson <rth@redhat.com>
PR c++/6764
if (c_lex (&x) != CPP_CLOSE_PAREN)
SYNTAX_ERROR ("missing close paren");
- if (n != integer_zero_node && n != integer_one_node)
+ if (!integer_zerop (n) && !integer_onep (n))
SYNTAX_ERROR ("number must be 0 or 1");
if (c_lex (&x) != CPP_EOF)
warning ("junk at end of #pragma longcall");
- rs6000_default_long_calls = (n == integer_one_node);
+ rs6000_default_long_calls = integer_onep (n);
}
/* Handle defining many CPP flags based on TARGET_xxx. As a general