On Mon, Aug 22, 2016 at 06:38:10PM +0200, Marek Polacek wrote:
> Here we were crashing because the code wasn't prepared for NULL_TREE types.
> Thus fixed in a rather obvious way.
Bernd approved the patch in the BZ, but I'm going to commit this version, with
the original unreduced testcase:
2016-0
Here we were crashing because the code wasn't prepared for NULL_TREE types.
Thus fixed in a rather obvious way.
Bootstrapped/regtested on x86_64-linux, ok for trunk?
2016-08-22 Marek Polacek
PR c++/77321
* c-common.c (warn_for_memset): Check type for null.
* g++.dg/cp