From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#31708: 'gcc-strmov-store-file-names.patch' causes GCC segfaults Date: Wed, 13 Jun 2018 23:06:06 +0200 Message-ID: <87k1r2o0qp.fsf@gnu.org> References: <87k1reuc4r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54239) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTCyt-0003lI-LB for bug-guix@gnu.org; Wed, 13 Jun 2018 17:07:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTCys-0008Qj-Qi for bug-guix@gnu.org; Wed, 13 Jun 2018 17:07:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39058) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fTCys-0008QM-MR for bug-guix@gnu.org; Wed, 13 Jun 2018 17:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fTCys-0005E1-EA for bug-guix@gnu.org; Wed, 13 Jun 2018 17:07:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87k1reuc4r.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 04 Jun 2018 11:36:20 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 31708@debbugs.gnu.org ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > This is because DECL_INITIAL returns NULL_TREE for =E2=80=98buf=E2=80=99,= but > =E2=80=98store_reference_p=E2=80=99 doesn=E2=80=99t 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 =E2=80=98core-updates=E2=80=99, commit 243ea8673f783d5a85df94b09d4ffd4bc6cc97ce. Ludo=E2=80=99.