Bug 90160 - missing quote in diagnostic
Summary: missing quote in diagnostic
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: translation (show other bugs)
Version: 9.0
: P3 trivial
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: diagnostic, easyhack
Depends on:
Blocks: trivial_translation_nits
  Show dependency treegraph
 
Reported: 2019-04-18 19:27 UTC by Roland Illig
Modified: 2021-10-28 02:47 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2019-04-18 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Illig 2019-04-18 19:27:43 UTC
From arm.c:

	error ("%s incompatible with %<-mword-relocations%>", flag);

The first %s is also a command line option and thus should be %qs.
Comment 1 Roland Illig 2019-04-18 19:38:44 UTC
From csky.c:

	warning (0, "cpu %s is not based on arch %s, ignoring the arch",
		 csky_selected_cpu->name, csky_selected_arch->name);
Comment 2 Roland Illig 2019-04-18 19:50:42 UTC
From gcn.c:

  error ("unknown specifier %s in amdgpu_hsa_kernel attribute", str);
Comment 3 Roland Illig 2019-04-18 19:56:23 UTC
From gcn.c, one more:

  error ("duplicated parameter specifier %s in amdgpu_hsa_kernel "
	 "attribute", str);
Comment 4 Martin Sebor 2019-04-18 20:01:52 UTC
Confirmed.  See also pr90158 for similar issues.