From patchwork Tue Nov 6 16:06:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Hubicka X-Patchwork-Id: 197495 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]) by ozlabs.org (Postfix) with SMTP id EC6A02C00D0 for ; Wed, 7 Nov 2012 03:06:27 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1352822788; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Date: From:To:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=1kUwGKQz+Ef/Tt7jCKE6xd3B/eY=; b=j8HZgCu/b1mLWYS uINLubrBL7jqOYPfzMmSiH3sZUmLprPZmza9liSDMYTuYfbGSWayQeLxe1thb5ep 9lnsDnz9tKrF6hw7S18YLr3ZNWmtFm7NiS3ZQgCIs4igyvxNreo3ap6lYDlPkRi4 Yvj/P1Z2GO9IsOJ5BPbAxQqisymE= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Date:From:To:Subject:Message-ID:MIME-Version:Content-Type:Content-Disposition:User-Agent:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=u75qE1GFFtkh9cp/fkA+c165PJB8gn8EkSIxk6M3m6GplB3JZr/nYKiJDDyrco jX52rARwhRZDJaLdK6eE17E/qNekRc7yDknSjXCdC8LiN1AauAFvoMT5BJUxOOlF 0PHAivBrIWldVu0/BOvzMX0938V8uWsfV2uag+Ou5j1Vk=; Received: (qmail 10784 invoked by alias); 6 Nov 2012 16:06:21 -0000 Received: (qmail 10767 invoked by uid 22791); 6 Nov 2012 16:06:18 -0000 X-SWARE-Spam-Status: No, hits=-4.0 required=5.0 tests=AWL, BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_W, RCVD_IN_HOSTKARMA_WL, RP_MATCHES_RCVD, TW_TM, TW_ZJ X-Spam-Check-By: sourceware.org Received: from nikam.ms.mff.cuni.cz (HELO nikam.ms.mff.cuni.cz) (195.113.20.16) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 06 Nov 2012 16:06:13 +0000 Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id E512C543D5C; Tue, 6 Nov 2012 17:06:11 +0100 (CET) Date: Tue, 6 Nov 2012 17:06:11 +0100 From: Jan Hubicka To: gcc-patches@gcc.gnu.org Subject: Fix debug dump formatting in ipa-pure-const Message-ID: <20121106160611.GE30424@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) 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 Hi, there are missing linebreaks in the debug info. Fixed thus. Honza Index: ChangeLog =================================================================== --- ChangeLog (revision 193244) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2012-11-06 Jan Hubicka + + * ipa-pure-const.c (check_stmt): Fix debug info formatting. + 2012-11-06 Uros Bizjak * config/i386/i386.c (TARGET_INSTANTIATE_DECLS): New define. Index: ipa-pure-const.c =================================================================== --- ipa-pure-const.c (revision 193244) +++ ipa-pure-const.c (working copy) @@ -671,15 +671,18 @@ check_stmt (gimple_stmt_iterator *gsip, if (cfun->can_throw_non_call_exceptions) { if (dump_file) - fprintf (dump_file, " can throw; looping"); + fprintf (dump_file, " can throw; looping\n"); local->looping = true; } if (stmt_can_throw_external (stmt)) { if (dump_file) - fprintf (dump_file, " can throw externally"); + fprintf (dump_file, " can throw externally\n"); local->can_throw = true; } + else + if (dump_file) + fprintf (dump_file, " can throw\n"); } switch (gimple_code (stmt)) { @@ -691,7 +694,7 @@ check_stmt (gimple_stmt_iterator *gsip, /* Target of long jump. */ { if (dump_file) - fprintf (dump_file, " nonlocal label is not const/pure"); + fprintf (dump_file, " nonlocal label is not const/pure\n"); local->pure_const_state = IPA_NEITHER; } break; @@ -699,14 +702,14 @@ check_stmt (gimple_stmt_iterator *gsip, if (gimple_asm_clobbers_memory_p (stmt)) { if (dump_file) - fprintf (dump_file, " memory asm clobber is not const/pure"); + fprintf (dump_file, " memory asm clobber is not const/pure\n"); /* Abandon all hope, ye who enter here. */ local->pure_const_state = IPA_NEITHER; } if (gimple_asm_volatile_p (stmt)) { if (dump_file) - fprintf (dump_file, " volatile is not const/pure"); + fprintf (dump_file, " volatile is not const/pure\n"); /* Abandon all hope, ye who enter here. */ local->pure_const_state = IPA_NEITHER; local->looping = true;