Re: C PATCH for c/71418 (ICE with bogus array dimension and _Alignas)

2016-06-07 Thread Joseph Myers
On Tue, 7 Jun 2016, Marek Polacek wrote: > Another error-recovery bug. This time TYPE was error_mark_node but > min_align_of_type accessed it via TYPE_ALIGN. So we better check that we're > operating on a type. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? OK. -- Joseph S. Myers

C PATCH for c/71418 (ICE with bogus array dimension and _Alignas)

2016-06-07 Thread Marek Polacek
Another error-recovery bug. This time TYPE was error_mark_node but min_align_of_type accessed it via TYPE_ALIGN. So we better check that we're operating on a type. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2016-06-07 Marek Polacek PR c/71418 * c-decl.c (grokdecla