(duplicate_decls): Don't look at TYPE_ACTUAL_ARG_TYPES if it is not
set. From-SVN: r9439
This commit is contained in:
parent
007cac0f1a
commit
f5ec002697
@ -1586,7 +1586,8 @@ duplicate_decls (newdecl, olddecl)
|
|||||||
else if (TREE_CODE (olddecl) == FUNCTION_DECL
|
else if (TREE_CODE (olddecl) == FUNCTION_DECL
|
||||||
&& DECL_INITIAL (olddecl) != 0
|
&& DECL_INITIAL (olddecl) != 0
|
||||||
&& TYPE_ARG_TYPES (oldtype) == 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 tree type, parm;
|
||||||
register int nargs;
|
register int nargs;
|
||||||
|
Loading…
Reference in New Issue
Block a user