public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/46676] New: ix86_option_override_internal i18n problems
@ 2010-11-26 17:35 jsm28 at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: jsm28 at gcc dot gnu.org @ 2010-11-26 17:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46676
Summary: ix86_option_override_internal i18n problems
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jsm28@gcc.gnu.org
Blocks: 40883
Target: i?86-*-* x86_64-*-*
ix86_option_override_internal contains code
/* Set up prefix/suffix so the error messages refer to either the command
line argument, or the attribute(target). */
if (main_args_p)
{
prefix = "-m";
suffix = "";
sw = "switch";
}
else
{
prefix = "option(\"";
suffix = "\")";
sw = "attribute";
}
and later diagnostics inserting sw - the word "switch" or "attribute" - with
%s. This should use separate diagnostic strings for the two cases instead.
(Also, the attribute is "target" not "option".)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-26 17:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-26 17:35 [Bug target/46676] New: ix86_option_override_internal i18n problems jsm28 at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).