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
This commit is contained in:
Michael Zolotukhin 2012-11-30 08:43:07 +00:00 committed by Kirill Yukhin
parent e7b0b62dc0
commit 52831d13a7
3 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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>
* config/i386/host-mingw32.c (va_granularity): Make none-const.

View File

@ -2650,7 +2650,7 @@ maybe_eval_c_test (const char *expr)
const struct c_test *test;
struct c_test dummy;
if (!expr || expr[0] == 0)
if (expr[0] == 0)
return 1;
dummy.expr = expr;

View File

@ -546,7 +546,7 @@ apply_iterators (rtx original, rtx *queue)
{
/* Apply the current iterator values. Accumulate a condition to
say when the resulting rtx can be used. */
condition = NULL;
condition = "";
FOR_EACH_VEC_ELT (iterator_uses, i, iuse)
{
if (iuse->iterator->group == &substs)