From patchwork Wed Jan 12 13:08:30 2022 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: 49918 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9124B394001D for ; Wed, 12 Jan 2022 13:08:57 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id E6C2B3940005 for ; Wed, 12 Jan 2022 13:08:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E6C2B3940005 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B85161F39B for ; Wed, 12 Jan 2022 13:08:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1641992910; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gtvn9DmeqGq2/DR5Vh9OmuO0nQyYyRkjbRDX1NkQs5Y=; b=VECIRDHiSAg0z8yv11YoMlly9PEhX3xp4rvXVBo7LphpyC0hLK03luRAnaaxcF21V0s15v Xuv94HH3ZvkafStqgDFpcvLwUwHzi1BhC03hf26DbNDCO2DPbWisxGVmiF9cOSvBmucnkf 8D4GTSjH9S6tJa34sQSfKfAA3VlUfAM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1641992910; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Gtvn9DmeqGq2/DR5Vh9OmuO0nQyYyRkjbRDX1NkQs5Y=; b=clOeyoDD9wdDIzp5FMss5U0+llqm229bHxbYEJd6JHdd/xx/eVo3g7ffjBAUfex1VLTvUe inY/dbzPFpAjK3DQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id AA2E313B64 for ; Wed, 12 Jan 2022 13:08:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id mhmDKM7S3mFTTQAAMHmgww (envelope-from ) for ; Wed, 12 Jan 2022 13:08:30 +0000 Message-ID: <628c5bdf-f9ff-c845-4681-429425c2ccf4@suse.cz> Date: Wed, 12 Jan 2022 14:08:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] Fix -Wformat-diag for s390x-ibm-tpf. To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" This one is related to s390x-ibm-tpf -Wformat-diag warnings. Ready to be installed? Thanks, Martin gcc/ChangeLog: * config/s390/s390.c: Fix -Wformat-diag warnings. --- gcc/config/s390/s390.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index bf96cbf7588..968672bb42b 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -15606,16 +15606,16 @@ s390_option_override_internal (struct gcc_options *opts, #if TARGET_TPF != 0 if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_prologue_check)) - error ("-mtpf-trace-hook-prologue-check requires integer in range 0..4095"); + error ("%<-mtpf-trace-hook-prologue-check%> requires integer in range 0-4095"); if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_prologue_target)) - error ("-mtpf-trace-hook-prologue-target requires integer in range 0..4095"); + error ("%<-mtpf-trace-hook-prologue-target%> requires integer in range 0-4095"); if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_epilogue_check)) - error ("-mtpf-trace-hook-epilogue-check requires integer in range 0..4095"); + error ("%<-mtpf-trace-hook-epilogue-check%> requires integer in range 0-4095"); if (!CONST_OK_FOR_J (opts->x_s390_tpf_trace_hook_epilogue_target)) - error ("-mtpf-trace-hook-epilogue-target requires integer in range 0..4095"); + error ("%<-mtpf-trace-hook-epilogue-target%> requires integer in range 0-4095"); if (s390_tpf_trace_skip) {