(duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES if it is not

set.

From-SVN: r9439
This commit is contained in:
Richard Kenner 1995-04-25 13:30:35 -04:00
parent 007cac0f1a
commit f5ec002697

View File

@ -1586,7 +1586,8 @@ duplicate_decls (newdecl, olddecl)
else if (TREE_CODE (olddecl) == FUNCTION_DECL
&& DECL_INITIAL (olddecl) != 0
&& TYPE_ARG_TYPES (oldtype) == 0
&& TYPE_ARG_TYPES (newtype) != 0)
&& TYPE_ARG_TYPES (newtype) != 0
&& TYPE_ACTUAL_ARG_TYPES (oldtype) != 0)
{
register tree type, parm;
register int nargs;