From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11509 invoked by alias); 12 Feb 2014 11:34:31 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 11497 invoked by uid 89); 12 Feb 2014 11:34:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp16.uk.ibm.com Received: from e06smtp16.uk.ibm.com (HELO e06smtp16.uk.ibm.com) (195.75.94.112) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 12 Feb 2014 11:34:25 +0000 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 12 Feb 2014 11:34:22 -0000 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp16.uk.ibm.com (192.168.101.146) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 12 Feb 2014 11:34:19 -0000 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id DC9972190066 for ; Wed, 12 Feb 2014 11:34:16 +0000 (GMT) Received: from d06av06.portsmouth.uk.ibm.com (d06av06.portsmouth.uk.ibm.com [9.149.37.217]) by b06cxnps4076.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s1CBY7KV63963292 for ; Wed, 12 Feb 2014 11:34:07 GMT Received: from d06av06.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s1CCYJbb012523 for ; Wed, 12 Feb 2014 05:34:19 -0700 Received: from sandifor-thinkpad.stglab.manchester.uk.ibm.com (sig-9-146-157-157.uk.ibm.com [9.146.157.157]) by d06av06.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id s1CCYHNF012469 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Wed, 12 Feb 2014 05:34:19 -0700 From: Richard Sandiford To: vogt@linux.vnet.ibm.com Mail-Followup-To: vogt@linux.vnet.ibm.com,gcc-patches@gcc.gnu.org, Andreas Krebbel , rsandifo@linux.vnet.ibm.com Cc: gcc-patches@gcc.gnu.org, Andreas Krebbel Subject: Re: [PATCH] S390: Fix crash with -mhotpatch and gfortran References: <20140212102838.GA10947@linux.vnet.ibm.com> Date: Wed, 12 Feb 2014 11:34:00 -0000 In-Reply-To: <20140212102838.GA10947@linux.vnet.ibm.com> (Dominik Vogt's message of "Wed, 12 Feb 2014 11:28:38 +0100") Message-ID: <8761okd0p3.fsf@sandifor-thinkpad.stglab.manchester.uk.ibm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14021211-3548-0000-0000-0000080BF7DC X-SW-Source: 2014-02/txt/msg00773.txt.bz2 Dominik Vogt writes: > diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c > index 32a25a4..9ae8ffd 100644 > --- a/gcc/config/s390/s390.c > +++ b/gcc/config/s390/s390.c > @@ -5510,9 +5510,8 @@ s390_asm_output_function_label (FILE *asm_out_file, const char *fname, > if (hotpatch_trampoline_halfwords >= 0 > && decl_function_context (decl) != NULL_TREE) > { > - warning_at (0, DECL_SOURCE_LOCATION (decl), > - "hotpatch_prologue is not compatible with nested" > - " function"); > + warning_at (0, OPT_mhotpatch, > + "hotpatching is not compatible with nested functions"); Looks like this should be: warning_at (DECL_SOURCE_LOCATION (decl), OPT_mhotpatch, "hotpatching is not compatible with nested functions"); Thanks, Richard