From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85630 invoked by alias); 10 May 2017 21:18:18 -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 85619 invoked by uid 89); 10 May 2017 21:18:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=fellow, unaware, H*M:cd83, H*MI:sk:2017051 X-HELO: mail-yw0-f181.google.com Received: from mail-yw0-f181.google.com (HELO mail-yw0-f181.google.com) (209.85.161.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 10 May 2017 21:18:15 +0000 Received: by mail-yw0-f181.google.com with SMTP id 203so4256626ywe.0 for ; Wed, 10 May 2017 14:18:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=H+Dg04LJLWZggs+3yCa73wp8QbhSuBPcIEL3VSVof0Q=; b=o0kvbCYq4KkpIBEWR74nxxOoWZCsFDyHmzGHMSAQdGC2mPZM30WFKy/rQWsfgVNruU 453pq++0dN5TpqBO8B1cdpwe+b+JjXiA6IBPhQpCBIK3UnCTx0zyPupgWIDPnM6BY8TH VZpCqzUswU4TCyxhWjFawbuMQIMPJlvQLKZAzSqg6QhXBv4naTJyAcudorg8koEmNMAh 6A1oTxP/T6W0nC/DAgGt6ploXHFXmimk5qRnMJC6BI1R4742EXhVCxGYKwQZ+KC1wuqM U4WPswxRlNp4gAxk1ZQYiJljYJhRJnPFoViz6kyI9Axt7ccpMp7o7AZlfT3WqSE1RiMK HrVA== X-Gm-Message-State: AODbwcDUpgYn8zTzIDNjEhyae9VL07ho3pjJXMxuiCFKcEboatzl2+SC 0xzEWACDqdeZng== X-Received: by 10.129.105.67 with SMTP id e64mr6363426ywc.129.1494451096933; Wed, 10 May 2017 14:18:16 -0700 (PDT) Received: from ?IPv6:2620:10d:c0a1:1102:b9b0:1beb:d21c:b3f4? ([2620:10d:c091:180::a343]) by smtp.googlemail.com with ESMTPSA id w132sm93114ywa.17.2017.05.10.14.18.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2017 14:18:16 -0700 (PDT) Subject: Re: [PATCH] Kill -fdump-translation-unit To: Jakub Jelinek , Alexander Monakov Cc: Richard Biener , GCC Patches References: <964bab70-9a78-6812-4697-7c0c0f2dc096@acm.org> <20170510175826.GH1809@tucnak> From: Nathan Sidwell Message-ID: <1fdd4c0e-06b1-1c9d-cd83-f31af9ee27df@acm.org> Date: Wed, 10 May 2017 21:59:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <20170510175826.GH1809@tucnak> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-05/txt/msg00833.txt.bz2 On 05/10/2017 01:58 PM, Jakub Jelinek wrote: >> A quick search indicates that people have published .tu parsers in Perl, JS >> (producing json), the person objecting on IRC apparently used Python, and I'm >> aware of another Python-based parser by Bruce Merry. Prior to Alex mentioning it, I was unaware of such parsers -- I'm surprised. This is not a data interchange format, it's a debugging dump. The fellow on IRC failed to mention that, and made the claim that the TU dump was the simplest way of determining sizeof (time_t) when one has a cross compiler. nathan -- Nathan Sidwell