Projects
home:lf14:branches:Mega:23.09
gcc
_service:tar_scm:LoongArch-Modify-the-output-me...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:LoongArch-Modify-the-output-message-string-of-the-wa.patch of Package gcc
From 83d6cfbbdc41766af9d7941d00204cc0f26ff40c Mon Sep 17 00:00:00 2001 From: Lulu Cheng <chenglulu@loongson.cn> Date: Tue, 26 Jul 2022 21:03:52 +0800 Subject: [PATCH 005/124] LoongArch: Modify the output message string of the warning. Fix bug for "error: spurious trailing punctuation sequence '.' in format [-Werror=format-diag]". gcc/ChangeLog: * config/loongarch/loongarch-opts.cc: Modify the output message string of the warning. Signed-off-by: Peng Fan <fanpeng@loongson.cn> Signed-off-by: ticat_fp <fanpeng@loongson.cn> --- gcc/config/loongarch/loongarch-opts.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/loongarch/loongarch-opts.cc b/gcc/config/loongarch/loongarch-opts.cc index fc477bfd4..3f70943de 100644 --- a/gcc/config/loongarch/loongarch-opts.cc +++ b/gcc/config/loongarch/loongarch-opts.cc @@ -378,8 +378,8 @@ fallback: t.cmodel = constrained.cmodel ? opt_cmodel : CMODEL_NORMAL; if (t.cmodel != CMODEL_NORMAL) { - warning (0, "%qs is not supported, now cmodel is set to 'normal'.", - loongarch_cmodel_strings[t.cmodel]); + warning (0, "%qs is not supported, now cmodel is set to %qs", + loongarch_cmodel_strings[t.cmodel], "normal"); t.cmodel = CMODEL_NORMAL; } -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2