From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 13 17:06:16 2018 Received: (at 31708) by debbugs.gnu.org; 13 Jun 2018 21:06:16 +0000 Received: from localhost ([127.0.0.1]:46955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTCy8-0005D2-9D for submit@debbugs.gnu.org; Wed, 13 Jun 2018 17:06:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fTCy6-0005Cq-GF for 31708@debbugs.gnu.org; Wed, 13 Jun 2018 17:06:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTCy0-0007Vf-HX for 31708@debbugs.gnu.org; Wed, 13 Jun 2018 17:06:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTCy0-0007VU-EH for 31708@debbugs.gnu.org; Wed, 13 Jun 2018 17:06:08 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58616 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fTCy0-00043m-4T for 31708@debbugs.gnu.org; Wed, 13 Jun 2018 17:06:08 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: 31708@debbugs.gnu.org Subject: Re: bug#31708: 'gcc-strmov-store-file-names.patch' causes GCC segfaults References: <87k1reuc4r.fsf@gnu.org> Date: Wed, 13 Jun 2018 23:06:06 +0200 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") Message-ID: <87k1r2o0qp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 31708 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) 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.