From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 81146 invoked by alias); 22 Nov 2016 14:45: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 71083 invoked by uid 89); 22 Nov 2016 14:45:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 22 Nov 2016 14:45:16 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 920038EB45; Tue, 22 Nov 2016 14:45:06 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-204-19.brq.redhat.com [10.40.204.19]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAMEj4Fl025108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 22 Nov 2016 09:45:06 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id uAMEj3jt023288; Tue, 22 Nov 2016 15:45:03 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id uAMEj2OK021874; Tue, 22 Nov 2016 15:45:02 +0100 Date: Tue, 22 Nov 2016 14:45:00 -0000 From: Jakub Jelinek To: Bernd Schmidt Cc: vogt@linux.vnet.ibm.com, David Malcolm , gcc-patches@gcc.gnu.org Subject: Re: [PATCH] (v2) Add a "compact" mode to print_rtx_function Message-ID: <20161122144501.GU3541@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <43d4ec20-5f84-2533-22e4-e16c779f6162@redhat.com> <1476304646-39819-1-git-send-email-dmalcolm@redhat.com> <20161122131836.GA7025@linux.vnet.ibm.com> <48811c08-6412-2e8b-2763-b163c358afe3@redhat.com> <20161122133750.GR3541@tucnak.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg02222.txt.bz2 On Tue, Nov 22, 2016 at 03:38:04PM +0100, Bernd Schmidt wrote: > On 11/22/2016 02:37 PM, Jakub Jelinek wrote: > >Can't it be done only if xloc.file contains any fancy characters? > > Sure, but why? Strings generally get emitted with quotes around them, I > don't see a good reason for filenames to be different, especially if it > makes the output easier to parse. Because printing common filenames matches what we emit in diagnostics, what e.g. sanitizers emit at runtime diagnostics, what we emit as locations in gimple dumps etc. Jakub