From patchwork Wed Oct 26 16:20:41 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Law X-Patchwork-Id: 687185 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t3wHT6vVvz9sf9 for ; Thu, 27 Oct 2016 03:20:53 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=TyMx/Xcg; dkim-atps=neutral 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=mf/hKfjB1Le8LO9cLzJ6QnqN5KrfPvFZVrq4xocw7w7ZjQTXAd XQ+0bR8kGCgR9d84CKgQKyEZu3C3ChihSL7/AwJ3hVxwh6IKMHQnAepZKrVt1AIR UBQslYa6jcrwYR6i5rqiUyAVUT014Y18wKeySsRnTLncB+ceFLZ/wuhtk= 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=zW8cC+oS+8bHmhRNoAM6Trr137o=; b=TyMx/XcgFt1T4o/qv3+o oFXv96b+vEIdUhrtNuPEv8R/uQ8Stm49OG+Srn48y99pYA6V14+ed+sPuFlNbKyG 52F1Sfq5uuIh8ySrMFJQEL/5mp8EkHGSyCB3OnKXFp3tZ1dzclSlrItUPjNn7DOH SY+pYA8X0baMxSjQyd297Mg= Received: (qmail 62552 invoked by alias); 26 Oct 2016 16:20:45 -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 62533 invoked by uid 89); 26 Oct 2016 16:20:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 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; Wed, 26 Oct 2016 16:20:43 +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 0AF962DDAB for ; Wed, 26 Oct 2016 16:20:42 +0000 (UTC) Received: from localhost.localdomain (ovpn-116-128.phx2.redhat.com [10.3.116.128]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9QGKf2M028628 for ; Wed, 26 Oct 2016 12:20:41 -0400 To: gcc-patches From: Jeff Law Subject: Fix fr30 WRT fallthru Message-ID: <35eea7e6-b750-fafd-26b9-b8b093ec67f6@redhat.com> Date: Wed, 26 Oct 2016 10:20:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 X-IsSubscribed: yes Exact same code as in another port. Just adjusting the comment so we don't warn on a desired fallthru. Installing on the trunk. Jeff commit f1203ee28fdad66269ad0d0b761629f50dc3449b Author: law Date: Wed Oct 26 16:19:55 2016 +0000 * config/fr30/fr30.c (fr30_print_operand): Adjust fallthru comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@241579 138bc75d-0d04-0410-961f-82ee72b054a4 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 12f9c02..45ae4ea 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -35,6 +35,8 @@ 2016-10-26 Jeff Law + * config/fr30/fr30.c (fr30_print_operand): Adjust fallthru comment. + * config/frv/frv.c (comparison_string): Do not fall through after an error. diff --git a/gcc/config/fr30/fr30.c b/gcc/config/fr30/fr30.c index 187302b..d8e95cb 100644 --- a/gcc/config/fr30/fr30.c +++ b/gcc/config/fr30/fr30.c @@ -688,7 +688,8 @@ fr30_print_operand (FILE *file, rtx x, int code) break; } - /* Fall through. Let output_addr_const deal with it. */ + /* FALLTHRU */ + /* Let output_addr_const deal with it. */ default: output_addr_const (file, x); break;