Subject: bug#31708: 'gcc-strmov-store-file-names.patch' causes GCC segfaults

From: [email-masked] (Ludovic Courtès)
Date: Wed, 13 Jun 2018 23:06:06 +0200

[email-masked] (Ludovic Courtès) skribis:

> This is because DECL_INITIAL returns NULL_TREE for ‘buf’, but
> ‘store_reference_p’ doesn’t check whether we got NULL_TREE.
>
> The fix is very simple (adding a NULL_TREE check), but in the meantime
> we need to work around it.

I pushed a fix in ‘core-updates’, commit
243ea8673f783d5a85df94b09d4ffd4bc6cc97ce.

Ludo’.