------- Comment #7 from jason at redhat dot com 2008-07-26 21:41 ------- Subject: Re: [4.4 Regression]: Revision 138123 breaks C++
hjl dot tools at gmail dot com wrote: > + if (skip_artificial_parms_for (fn, DECL_ARGUMENTS (fn)) > + == NULL_TREE) > + return true; > + args = FUNCTION_FIRST_USER_PARMTYPE (fn); > + while (args && TREE_PURPOSE (args)) > + args = TREE_CHAIN (args); > + if (!args || args == void_list_node) > + return true; > Is this correct? You don't need the first three lines quoted above; the new code you added is enough. Jason -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36944