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.
This commit is contained in:
Martin Liska
2022-02-03 09:55:59 +01:00
parent de67f943b8
commit 0415470c8d

View File

@@ -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;
}
}