C PATCH to fix c/79758 (ICE-on-invalid with function redefinition and old style decls)

Bernd Schmidt bschmidt@redhat.com
Fri Mar 3 18:57:00 GMT 2017


On 03/03/2017 02:33 PM, Marek Polacek wrote:
>
> 2017-03-03  Marek Polacek  <polacek@redhat.com>
>
> 	PR c/79758
> 	* c-decl.c (store_parm_decls_oldstyle): Check if the element of
> 	current_function_prototype_arg_types is error_mark_node.  Fix
> 	formatting.  Use TREE_VALUE instead of TREE_TYPE.
>
> 	* gcc.dg/noncompile/pr79758.c: New test.

Ok.


Bernd



More information about the Gcc-patches mailing list