Commit f5ec0026 by Richard Kenner

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

set.

From-SVN: r9439
parent 007cac0f
...@@ -1586,7 +1586,8 @@ duplicate_decls (newdecl, olddecl) ...@@ -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;
......
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