From patchwork Wed Jun 13 14:47:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 928908 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-479638-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Vx5TMcMK"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 415V350z9Nz9s19 for ; Thu, 14 Jun 2018 00:47:28 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=RSpf8D04YnpLWbeQIpc7FOlZ3KOlsvjsmI10sRRUjnjQzJaW6A 3UEXcYP5p/JxUK2oWevGPfjLXvTrDnnBdMuDIcuybjKg5XjBM44rZGj7Jy6+6RR7 0if0/lBgfnTzdMAI+EJgcL59uKokU5BNEeoj5wWKtq079FlZ598zHw8IU= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=tzLaiGi9QO39HA29HO64paHo+9k=; b=Vx5TMcMKc5Am3emPTlzp VTXw1IpVcUFX4bogNWWT47p7PLxGvuJborbU9NI/4anblze9VLr9R27OjKjeekYu i0O2/HdLL1+vi6gnTKMrDQ9azAb6ToC19Vj91ouEWa1HrYwo/tyI6/qBIWGgf2Zn txo1kUw6ONu44L2xPpBNej8= Received: (qmail 119820 invoked by alias); 13 Jun 2018 14:47:20 -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 119803 invoked by uid 89); 13 Jun 2018 14:47:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=flagged 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; Wed, 13 Jun 2018 14:47:18 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3E7083082136 for ; Wed, 13 Jun 2018 14:47:17 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-48.rdu2.redhat.com [10.10.112.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9FCF12D02B for ; Wed, 13 Jun 2018 14:47:16 +0000 (UTC) To: gcc-patches From: Jeff Law Subject: Trivial rl78 build fix Openpgp: preference=signencrypt Message-ID: <4d6ac6f8-4382-a389-9d4a-9048dacafd66@redhat.com> Date: Wed, 13 Jun 2018 08:47:15 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 X-IsSubscribed: yes My tester flagged rl78 as failing to build due to a trivial error. Specifically the rl78 backend was passing integer 0 as the flags argument to print_rtl_with_bb. The argument should either be omitted completely (there's an appropriate overload) or use TDF_NONE. Fixed thusly. Verified the rl78 port builds again. Tester will do some deeper testing overnight (libgcc, newlib). Installing on the trunk. Jeff diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b15216cdd5..e74509fa3f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-06-13 Jeff Law + + * config/rl78/rl78.c (move_elim_pass): Use TDF_NONE rather than + integer 0 for argument to print_rtl_with_bb. + (rl78_reorg): Likewise. + 2018-06-13 David Malcolm * config/arc/arc.c (hwloop_optimize): Strengthen local "end_label" diff --git a/gcc/config/rl78/rl78.c b/gcc/config/rl78/rl78.c index 8346c9c31e0..03c78fc7549 100644 --- a/gcc/config/rl78/rl78.c +++ b/gcc/config/rl78/rl78.c @@ -228,7 +228,7 @@ move_elim_pass (void) } if (dump_file) - print_rtl_with_bb (dump_file, get_insns (), 0); + print_rtl_with_bb (dump_file, get_insns (), TDF_NONE); return 0; } @@ -4317,7 +4317,7 @@ rl78_reorg (void) if (dump_file) { fprintf (dump_file, "\n================DEVIRT:=AFTER=ALLOC=PHYSICAL=REGISTERS================\n"); - print_rtl_with_bb (dump_file, get_insns (), 0); + print_rtl_with_bb (dump_file, get_insns (), TDF_NONE); } rl78_propogate_register_origins (); @@ -4326,7 +4326,7 @@ rl78_reorg (void) if (dump_file) { fprintf (dump_file, "\n================DEVIRT:=AFTER=PROPOGATION=============================\n"); - print_rtl_with_bb (dump_file, get_insns (), 0); + print_rtl_with_bb (dump_file, get_insns (), TDF_NONE); fprintf (dump_file, "\n======================================================================\n"); }