re PR c/79758 (ICE: tree check: expected class 'type', have 'exceptional'…
re PR c/79758 (ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in store_parm_decls_oldstyle, at c/c-decl.c:8973) 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. From-SVN: r245886
Showing
gcc/testsuite/gcc.dg/noncompile/pr79758.c
0 → 100644
Please
register
or
sign in
to comment