From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22438 invoked by alias); 12 Aug 2014 16:14:27 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 22420 invoked by uid 89); 12 Aug 2014 16:14:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mailout1.w1.samsung.com Received: from mailout1.w1.samsung.com (HELO mailout1.w1.samsung.com) (210.118.77.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (DES-CBC3-SHA encrypted) ESMTPS; Tue, 12 Aug 2014 16:14:23 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NA7002TJBRPHE30@mailout1.w1.samsung.com> for gcc-patches@gcc.gnu.org; Tue, 12 Aug 2014 17:14:13 +0100 (BST) Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 9F.E3.25543.A5D3AE35; Tue, 12 Aug 2014 17:14:18 +0100 (BST) Received: from [106.109.130.31] by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NA700LDLBRTMV20@eusync2.samsung.com>; Tue, 12 Aug 2014 17:14:18 +0100 (BST) Message-id: <53EA3D59.1060608@partner.samsung.com> Date: Tue, 12 Aug 2014 16:14:00 -0000 From: Maxim Ostapenko User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-version: 1.0 To: Jeff Law , GCC Patches Cc: tsaunders@mozilla.com, Yury Gribov , Slava Garbuzov , Maxim Ostapenko Subject: [PING][PATCH] Add patch for debugging compiler ICEs. References: <53DFBCDA.1010504@partner.samsung.com> In-reply-to: <53DFBCDA.1010504@partner.samsung.com> X-Forwarded-Message-Id: <53DFBCDA.1010504@partner.samsung.com> Content-type: multipart/mixed; boundary=------------040606000401070306030307 X-IsSubscribed: yes X-SW-Source: 2014-08/txt/msg01146.txt.bz2 This is a multi-part message in MIME format. --------------040606000401070306030307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 1593 Ping. -Maxim -------- Original Message -------- Subject: [PATCH] Add patch for debugging compiler ICEs. Date: Mon, 04 Aug 2014 21:03:22 +0400 From: Maxim Ostapenko To: GCC Patches CC: Jeff Law , Jakub Jelinek , tsaunders@mozilla.com, Yury Gribov , Slava Garbuzov On 08/04/2014 09:03 PM, Maxim Ostapenko wrote: > Hi, > > A years ago there was a discussion > (https://gcc.gnu.org/ml/gcc-patches/2004-01/msg02437.html) about > debugging compiler ICEs that resulted in a patch from Jakub, which > dumps useful information into temporary file, but for some reasons > this patch wasn't applied to trunk. > > This is the resurrected patch with added GCC version information into > generated repro file. > > I've updated the patch that I've posted earlier > (https://gcc.gnu.org/ml/gcc-patches/2014-07/msg01649.html ) according > to recent upstream discussion > (https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00020.html). > > The debugging functionality is disabled by default and can be enabled > with adding -freport-bug into compile options. It can be also enabled > by default with > --with-spec during GCC build. > > There are several directions in which this can be improved e.g: > > 1) more user-friendly ways to report bugs (autosubmitting to Bugzilla, > etc.) > > 2) generate repro in case of segfault. > > but having basic functionality (autogenerating reprocase in temprorary > file) already seems quite useful. > > -Maxim --------------040606000401070306030307 Content-Type: text/x-patch; name="ICE.diff" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ICE.diff" Content-length: 0 --------------040606000401070306030307--