Re: [PATCH] Fix ICE in sync_resolve_size (PR c++/69797)

2016-02-15 Thread Marek Polacek
On Mon, Feb 15, 2016 at 09:56:04PM +0100, Jakub Jelinek wrote: > Hi! > > In C++, if there are no parameters, params can be non-NULL, but still > empty vector. Fixed by properly testing for empty vector. > > Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? > > 2016-02-15 Jak

[PATCH] Fix ICE in sync_resolve_size (PR c++/69797)

2016-02-15 Thread Jakub Jelinek
Hi! In C++, if there are no parameters, params can be non-NULL, but still empty vector. Fixed by properly testing for empty vector. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2016-02-15 Jakub Jelinek PR c++/69797 * c-common.c (sync_resolve_size): Di