From patchwork Sat Sep 13 08:34:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 388884 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 A80F114011D for ; Sat, 13 Sep 2014 18:34:22 +1000 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=dtyp5g8ArG5f9StzwRkW85+HCE4emg5PjEn07LwgE5RIVk UAJtCSoy/t1SLt43pCLViuEix9fKG7CJpnNpbDpYQVz8PD5vKFkbpFnA8z4sHesd HWE+uYI6hISqj0/L7pcsbgtKWcj6QzLfz5f99c5pmc1qxq+gCpjAalTWFqkbw= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=YHpV/RV0pvtdzOKbJlIoEPlu00Y=; b=j7nWFC+VLI1HcDHxso86 Os7ipOpkJvVlISLnETIGSDzSuemvP0wcntFckAx9XCVQHWpCta8827Lopx93xPen wq9tsVJn15No8Vspf1vT4W3XQvH1yBa7lO6riRVOQju4wdnKw8WtEXPSckUr/j91 0W/fdMM47iAKljF9toxX8gA= Received: (qmail 27761 invoked by alias); 13 Sep 2014 08:34:14 -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 27718 invoked by uid 89); 13 Sep 2014 08:34:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mx02.qsc.de Received: from mx02.qsc.de (HELO mx02.qsc.de) (213.148.130.14) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 13 Sep 2014 08:34:13 +0000 Received: from tux.net-b.de (port-92-194-105-242.dynamic.qsc.de [92.194.105.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPSA id 1B8A027727; Sat, 13 Sep 2014 10:34:09 +0200 (CEST) Message-ID: <54140180.10907@net-b.de> Date: Sat, 13 Sep 2014 10:34:08 +0200 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 MIME-Version: 1.0 To: gcc-patches , gfortran Subject: [Patch, Fortran, committed] PR63252 - fix function decl bug This patch fixes an obvious copy and paste declaration bug, introduced on the 14th of August. Committed as obvious as Rev. 215236 after building and regtesting. Tobias Index: gcc/fortran/ChangeLog =================================================================== --- gcc/fortran/ChangeLog (Revision 215234) +++ gcc/fortran/ChangeLog (Arbeitskopie) @@ -1,3 +1,9 @@ +2014-09-13 Tobias Burnus + + PR fortran/63252 + * trans-decl.c (gfc_build_builtin_function_decls): Fix + caf_unlock declaration. + 2014-09-12 Joseph Myers * trans-types.c (gfc_init_kinds): Check Index: gcc/fortran/trans-decl.c =================================================================== --- gcc/fortran/trans-decl.c (Revision 215234) +++ gcc/fortran/trans-decl.c (Arbeitskopie) @@ -3421,7 +3421,7 @@ gfc_build_builtin_function_decls (void) gfor_fndecl_caf_unlock = gfc_build_library_function_decl_with_spec ( get_identifier (PREFIX("caf_unlock")), "R..WW", - void_type_node, 7, pvoid_type_node, size_type_node, integer_type_node, + void_type_node, 6, pvoid_type_node, size_type_node, integer_type_node, pint_type, pchar_type_node, integer_type_node); gfor_fndecl_co_max = gfc_build_library_function_decl_with_spec (