mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-16 13:20:38 +08:00
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:
parent
e7b0b62dc0
commit
52831d13a7
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user