Commit d0749053 by Denis Chertykov Committed by Denis Chertykov

* config/avr/avr.c (init_cumulative_args): Test fntype for zero.

From-SVN: r58503
parent 37d0b254
2002-10-24 Denis Chertykov <denisc@overta.ru>
* config/avr/avr.c (init_cumulative_args): Test fntype for zero.
2002-10-24 Steve Ellcey <sje@cup.hp.com>
* expr.c (convert_move): If unsignedp is less then zero there
......
......@@ -1487,7 +1487,7 @@ init_cumulative_args (cum, fntype, libname, indirect)
{
cum->nregs = 18;
cum->regno = FIRST_CUM_REG;
if (!libname)
if (!libname && fntype)
{
int stdarg = (TYPE_ARG_TYPES (fntype) != 0
&& (TREE_VALUE (tree_last (TYPE_ARG_TYPES (fntype)))
......
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