[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31708: 'gcc-strmov-store-file-names.patch' causes GCC segfaults
From: |
Ludovic Courtès |
Subject: |
bug#31708: 'gcc-strmov-store-file-names.patch' causes GCC segfaults |
Date: |
Wed, 13 Jun 2018 23:06:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
address@hidden (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’.