mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-18 20:31:00 +08:00
* config/avr/avr.c (init_cumulative_args): Test fntype for zero.
From-SVN: r58503
This commit is contained in:
parent
37d0b2542c
commit
d074905352
@ -1,3 +1,7 @@
|
||||
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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user