From patchwork Fri Aug 30 15:50:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mike Stump X-Patchwork-Id: 271344 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "www.sourceware.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 208582C0098 for ; Sat, 31 Aug 2013 01:50:48 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; q=dns; s= default; b=QyPakMcNG6iFgSi3xOqteqR2VV4bQu5wDtL51n8z8ZPyFqXxRSu2D Vr6M/CEMNJDtbqcTPaApSp+2rf0vdpk6BJJp/RjXNmVT2rTwc5WTz3nAumzp3D2Z KahEf/hnFddWFAgTltCQ2Wa2igerWxdt7DeJJhvOiEuQ+CK5Bn/c9w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=default; bh=H+eZf67mJKbS2oESaI5zqTZoyu8=; b=JNwKWNdD9k3QWhCFXM0FYITMTLh+ AU45hPvdt2pUFYzdKm6Gfxp4lYQW222HDLyLoDJgXUm9dU2/i/D2asPQ/hWKT0h2 tNkSOfABpBBLqcmtaknhz9r+X7ltXxt1hVKwmUJPYM0m4YOsaJ0fCCDtpiHjphj7 GNpTmdWDRARB8aE= Received: (qmail 30524 invoked by alias); 30 Aug 2013 15:50:41 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 30513 invoked by uid 89); 30 Aug 2013 15:50:41 -0000 Received: from qmta13.emeryville.ca.mail.comcast.net (HELO qmta13.emeryville.ca.mail.comcast.net) (76.96.27.243) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 30 Aug 2013 15:50:41 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, KHOP_THREADED, RCVD_IN_DNSWL_NONE, RCVD_IN_HOSTKARMA_NO, RDNS_NONE, SPF_PASS autolearn=no version=3.3.2 X-HELO: qmta13.emeryville.ca.mail.comcast.net Received: from omta21.emeryville.ca.mail.comcast.net ([76.96.30.88]) by qmta13.emeryville.ca.mail.comcast.net with comcast id K3cE1m0061u4NiLAD3qeZA; Fri, 30 Aug 2013 15:50:38 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta21.emeryville.ca.mail.comcast.net with comcast id K3qd1m00j0BKwT48h3qdgj; Fri, 30 Aug 2013 15:50:38 +0000 Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: [PATCH, c++ testsuite]: Improve g++.dg/abi/mangle33.C scan-asm pattern From: Mike Stump In-Reply-To: Date: Fri, 30 Aug 2013 08:50:36 -0700 Cc: "gcc-patches@gcc.gnu.org" Message-Id: References: To: Uros Bizjak On Aug 30, 2013, at 2:02 AM, Uros Bizjak wrote: > I was looking at annoying > > ERROR: g++.dg/abi/mangle33.C -std=c++98: error executing dg-final: > couldn't compile regular expression pattern: out of memory Wow… They are amazingly clueless. What part of the mandate, though shall not claim out of memory until the last byte of my 4 TB drive is allocated did you not understand? Could someone file a tcl bug and say they want a 100 MB regexp please, the 1980s are over. I was going to say 10 MB, and realized that is what I would have said in 1994, then realized it isn't 1994 anymore either. [ pause ] I filed: http://core.tcl.tk/tcl/tktview/267b7e2334ee2e9de34c4b00d6e72e2f1997085f Thanks for finding the original tcl bug and tracking this down and letting us know it was a regression from 8.5 to 8.6. > The patch was tested with Tcl 8.5 where it works without problems. > > OK for mainline? Ok. > BTW: There are a couple of similar problems with Tcl 8.6: > [1] http://sourceforge.net/p/tcl/bugs/5178/ :-( closed. I've amended the Tcl pointer with the bug pointer: 2013-08-30 Mike Stump * doc/install.texi (Prerequisites): Note regression in Tcl 8.6 with RE patterns. I usually don't like enshrining bug reports into the documentation, but, for this bug, I'll make an exception. Now, I'm hoping they will actually fix this in tcl, so that we don't have to do anything special in the test suite. Wake me in a year and let's see if they fixed it. Index: doc/install.texi =================================================================== --- doc/install.texi (revision 202083) +++ doc/install.texi (working copy) @@ -426,7 +426,11 @@ Necessary when modifying @command{gperf} @itemx Expect @itemx Tcl -Necessary to run the GCC testsuite; see the section on testing for details. +Necessary to run the GCC testsuite; see the section on testing for +details. Tcl 8.6 has a known regression in RE pattern handling that +make parts of the testsuite fail. See +@uref{http://core.tcl.tk/tcl/tktview/267b7e2334ee2e9de34c4b00d6e72e2f1997085f} +for more information. @item autogen version 5.5.4 (or later) and @itemx guile version 1.4.1 (or later)