Re: C++ PATCH for c++/84663, ICE with incomplete array

2018-03-02 Thread Jason Merrill
OK. On Fri, Mar 2, 2018 at 12:38 PM, Marek Polacek wrote: > Another ICE-on-invalid where we should check for error_mark_node otherwise > we're toast. > > Bootstrapped/regtested on x86_64-linux, ok for trunk? > > 2018-03-02 Marek Polacek > > PR c++/84663 > * decl.c (cp_complete_

C++ PATCH for c++/84663, ICE with incomplete array

2018-03-02 Thread Marek Polacek
Another ICE-on-invalid where we should check for error_mark_node otherwise we're toast. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2018-03-02 Marek Polacek PR c++/84663 * decl.c (cp_complete_array_type): Check error_mark_node. * g++.dg/parse/array-size3.C: