aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-02-03 09:55:59 +0100
committerMartin Liska <mliska@suse.cz>2022-02-03 09:56:33 +0100
commit0415470c8d66200f6ae8ffb5ff4342bafc06251b (patch)
treeedec3008f7d14b7a4956a3df0f443ebaaa85a77d /gcc
parentde67f943b858099b40f73632a51e66147ec79c9b (diff)
downloadgcc-0415470c8d66200f6ae8ffb5ff4342bafc06251b.zip
gcc-0415470c8d66200f6ae8ffb5ff4342bafc06251b.tar.gz
gcc-0415470c8d66200f6ae8ffb5ff4342bafc06251b.tar.bz2
s390x: Fix one more -Wformat-diag.
gcc/ChangeLog: * config/s390/s390.cc (s390_valid_target_attribute_inner_p): Use the error message for i386 target.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/s390/s390.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/s390/s390.cc b/gcc/config/s390/s390.cc
index 2db12d4..63b78ab 100644
--- a/gcc/config/s390/s390.cc
+++ b/gcc/config/s390/s390.cc
@@ -15903,7 +15903,7 @@ s390_valid_target_attribute_inner_p (tree args,
/* Process the option. */
if (!found)
{
- error ("attribute(target(\"%s\")) is unknown", orig_p);
+ error ("attribute %qs argument %<target%> is unknown", orig_p);
return false;
}
else if (attrs[i].only_as_pragma && !force_pragma)
@@ -15953,7 +15953,7 @@ s390_valid_target_attribute_inner_p (tree args,
}
else
{
- error ("attribute(target(\"%s\")) is unknown", orig_p);
+ error ("attribute %qs argument %<target%> is unknown", orig_p);
ret = false;
}
}
@@ -15970,7 +15970,7 @@ s390_valid_target_attribute_inner_p (tree args,
global_dc);
else
{
- error ("attribute(target(\"%s\")) is unknown", orig_p);
+ error ("attribute %qs argument %<target%> is unknown", orig_p);
ret = false;
}
}