Re: [PATCH] Don't ICE on invalid array types (PR middle-end/59827)

2014-01-16 Thread Richard Biener
On Wed, Jan 15, 2014 at 4:53 PM, Marek Polacek pola...@redhat.com wrote: We ICE on the following (invalid) testcase, because the DECL_ARG_TYPE is error_mark_node and useless_type_conversion_p doesn't check that it operates on a type. Regtested/bootstrapped on x86_64-linux, ok for

[PATCH] Don't ICE on invalid array types (PR middle-end/59827)

2014-01-15 Thread Marek Polacek
We ICE on the following (invalid) testcase, because the DECL_ARG_TYPE is error_mark_node and useless_type_conversion_p doesn't check that it operates on a type. Regtested/bootstrapped on x86_64-linux, ok for trunk/4.8/4.7? 2014-01-15 Marek Polacek pola...@redhat.com PR