Re: [PATCH] Fix ICE with -Woverloaded-virtual (PR c++/61945)

2014-09-25 Thread Jason Merrill
OK.

[PATCH] Fix ICE with -Woverloaded-virtual (PR c++/61945)

2014-09-25 Thread Marek Polacek
We ICE on the following testcase because DECL_VINDEX expects a FUNCTION_DECL, but we didn't check that. The new testcase shows that with this patch we give a proper warning. Bootstrapped/regtested on x86_64-linux, ok for trunk? 2014-09-25 Marek Polacek PR c++/61945 * class.c