From patchwork Fri Jun 8 13:43:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 926810 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-479348-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="esytoso2"; 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 412Nsv6wsxz9s1B for ; Fri, 8 Jun 2018 23:43:47 +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:from :subject:to:message-id:date:mime-version:content-type; q=dns; s= default; b=tumJO3psSZGwwJK6kV7z1HLDqp/B0z+JWsAlrEvzN86zkawcB97rm idOJf8QmPC/HHPlkpzJVEBN+UE7YLxZF9B3kvlOZigeb7j9oHFop4cpXo4KHT2/Q Myv4yAQ9Zshb3ge/WV9IGz+quI85/bvXuBstDaLqERNb9R+a4G90t8= 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:from :subject:to:message-id:date:mime-version:content-type; s= default; bh=g7essEGB4gy686iWgOFenVvY5gI=; b=esytoso2IxcNP3LBILiw SOlM0hi9GSeJPQt3mMKe16JqvLnJwn5ZRNBzSCC0nc59dJgEO2c3o22OtJNxudTS R9aE7U+SMvJPmJZP6PnZMk9AI6CuxvIkFQS2DR+e6LQLPPZIT6vENcb4WCvLdv7f LjP00Q6dmXieRtoUZY20hFM= Received: (qmail 113972 invoked by alias); 8 Jun 2018 13:43:40 -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 113578 invoked by uid 89); 8 Jun 2018 13:43:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 08 Jun 2018 13:43:38 +0000 Received: from relay1.suse.de (charybdis-ext-too.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id A2BD2AE04 for ; Fri, 8 Jun 2018 13:43:36 +0000 (UTC) From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH][OBVIOUS] Fix function signature in header file. To: gcc-patches@gcc.gnu.org Message-ID: <1eda403a-6e4c-c583-9fe8-8c95d348b74d@suse.cz> Date: Fri, 8 Jun 2018 15:43:36 +0200 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 Hi. One obvious fix. The function is unused, thus no compilation errors was spotted. I'm going to install the patch. Martin gcc/ChangeLog: 2018-06-08 Martin Liska * tree-cfg.h (debug_function): Fix argument type to match implementation. --- gcc/tree-cfg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/tree-cfg.h b/gcc/tree-cfg.h index 73237a604be..9491bb45feb 100644 --- a/gcc/tree-cfg.h +++ b/gcc/tree-cfg.h @@ -81,7 +81,7 @@ extern void fold_loop_internal_call (gimple *, tree); extern basic_block move_sese_region_to_fn (struct function *, basic_block, basic_block, tree); extern void dump_function_to_file (tree, FILE *, dump_flags_t); -extern void debug_function (tree, int) ; +extern void debug_function (tree, dump_flags_t); extern void print_loops_bb (FILE *, basic_block, int, int); extern void print_loops (FILE *, int); extern void debug (struct loop &ref);