http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50976

--- Comment #18 from Jason Merrill <jason at redhat dot com> 2011-11-10 
19:07:44 UTC ---
On 11/10/2011 10:53 AM, 3dw4rd at verizon dot net wrote:
> Potentail patch #2a.

> +               t = TREE_VALUE (argtype);
> +               if (!argtype)
> +                 return false;

If argtype is null, taking its TREE_VALUE will SEGV.

You can also check argtype == void_list_node to test for the end of the 
parameter list.

Jason

Reply via email to