Commit 52831d13 by Michael Zolotukhin Committed by Kirill Yukhin

gensupport.c (maybe_eval_c_test): Remove not-null check for expr.

        * gensupport.c (maybe_eval_c_test): Remove not-null check for expr.
        * read-rtl.c (apply_iterators): Initialize condition with "" instead
        of NULL.

From-SVN: r193988
parent e7b0b62d
2012-11-30 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
* gensupport.c (maybe_eval_c_test): Remove not-null check for expr.
* read-rtl.c (apply_iterators): Initialize condition with "" instead
of NULL.
2012-11-30 Kai Tietz <ktietz@redhat.com> 2012-11-30 Kai Tietz <ktietz@redhat.com>
* config/i386/host-mingw32.c (va_granularity): Make none-const. * config/i386/host-mingw32.c (va_granularity): Make none-const.
...@@ -2650,7 +2650,7 @@ maybe_eval_c_test (const char *expr) ...@@ -2650,7 +2650,7 @@ maybe_eval_c_test (const char *expr)
const struct c_test *test; const struct c_test *test;
struct c_test dummy; struct c_test dummy;
if (!expr || expr[0] == 0) if (expr[0] == 0)
return 1; return 1;
dummy.expr = expr; dummy.expr = expr;
......
...@@ -546,7 +546,7 @@ apply_iterators (rtx original, rtx *queue) ...@@ -546,7 +546,7 @@ apply_iterators (rtx original, rtx *queue)
{ {
/* Apply the current iterator values. Accumulate a condition to /* Apply the current iterator values. Accumulate a condition to
say when the resulting rtx can be used. */ say when the resulting rtx can be used. */
condition = NULL; condition = "";
FOR_EACH_VEC_ELT (iterator_uses, i, iuse) FOR_EACH_VEC_ELT (iterator_uses, i, iuse)
{ {
if (iuse->iterator->group == &substs) if (iuse->iterator->group == &substs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment