https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93755
Bug ID: 93755
Summary: nested quotes in command line options errors
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: translation
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
From rs6000.c:
> error ("%qs requires VSX support", "%<-mfloat128%>");
The parameter does not need the %<quotes%> since it is already wrapped in %qs.
There is probably no automatic test case for this, as this would have been
obvious to see.
In general it might be a good idea during development to check whether the
parameters contain these quotes. But again, since there is no automatic test
for this combination of options, this bug would go unnoticed.
Another idea is to use a static analysis tool for this kind of bugs.