From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15887 invoked by alias); 8 Oct 2017 13:15:39 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 15869 invoked by uid 89); 8 Oct 2017 13:15:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=spotlight, D*netcologne.de, tkoenig@netcologne.de, tkoenignetcolognede X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-qt0-f174.google.com Received: from mail-qt0-f174.google.com (HELO mail-qt0-f174.google.com) (209.85.216.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 08 Oct 2017 13:15:37 +0000 Received: by mail-qt0-f174.google.com with SMTP id k31so3462217qta.6; Sun, 08 Oct 2017 06:15:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=+khg9t/buaK/wTgz1MDttgXcgjxTics8iulJm5KiRaw=; b=WU6/0HUMCDEK56picMv3vjXMHbEAJePoptoR0JzPSB0rsJDuwrhGP19oXpvw5X0AdW wwJ2hTMLkjFJHnyTtqofYSRL/QgeBjxqlqnyVmrHOlf0KP1CqEdOM6bHmem4+az68WBM KZEAzxt0eai3V3EqzeknS7XjGevQLzoQvkrtITx2TSYtDUfkyGPMDZsJSUHFfjVbvqz0 igKjT3TEOqUNdNz/e2T0riok97HBAQBroWfAHpPgTdRLvHhL/nBvyQ2b97JC0kXVErY6 hNEHP8vcYcr+bR7TxnufrfkNWEQeWfmryaXtuzgzd5NSdkn5KqfPdrgCM+/TIQB7lEPz XG2g== X-Gm-Message-State: AMCzsaUfKB3ieVzgkoqrGNFaaHmon7RXeBTCPRNwda/uEaWy76KNmOWJ hLcRzpW9yRp11uDdFxjnlCIt7alwvWnmvzqo4U4= X-Google-Smtp-Source: AOwi7QCbripJB2K+I0SiVB3oqKEXX6rmwXEb9HN5+yUK6Phl8CZrgweJp4qhuf67qTDwfq3v60Y54M6eh6tOhfAJlAs= X-Received: by 10.37.73.2 with SMTP id w2mr6006588yba.458.1507468536102; Sun, 08 Oct 2017 06:15:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.129.2.7 with HTTP; Sun, 8 Oct 2017 06:15:35 -0700 (PDT) In-Reply-To: <44982d74-aac3-c2dd-7395-146362af16f3@netcologne.de> References: <44982d74-aac3-c2dd-7395-146362af16f3@netcologne.de> From: Paul Richard Thomas Date: Sun, 08 Oct 2017 13:15:00 -0000 Message-ID: Subject: Re: [patch, fortran, committed] Small -fdump-fortran-original fixes, plus documentation update To: Thomas Koenig Cc: "fortran@gcc.gnu.org" , gcc-patches Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00044.txt.bz2 Hi Thomas, I thought that the suggestion to add the original input lines was not bad. It would be even better if -fdump-tree-original could do that. I often time find myself putting a line under the spotlight in a contained subroutine. Thanks for working on -fdump-parse-tree. Cheers Paul On 8 October 2017 at 13:57, Thomas Koenig wrote: > Hello world, > > I have committed a few small fixes for -fdump-fortran-original and > friends. > > Since there was interest on c.l.f from somebdoy who actually wanted to > use the dump for something useful, I have also clarified in the docs > that this is something that is not guaranteed to work between releases. > > Regards > > Thomas > > 2017-10-08 Thomas Koenig > > * dump_prase_tree (show_symbol): Output list of variables in > NAMELIST. > (show_code_node): Add new line for ELSE and END DO for DO > CONCURRENT. > * invoke.texi: Document that the output of > -fdump-fortran-original, -fdump-fortran-optimized and > -fdump-parse-tree is unsable and may lead to ICEs. -- "If you can't explain it simply, you don't understand it well enough" - Albert Einstein