[Bug c/93859] New: missing test for diagnostic: the omitted middle operand will always be true
roland.illig at gmx dot de
gcc-bugzilla@gcc.gnu.org
Thu Feb 20 20:46:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93859
Bug ID: 93859
Summary: missing test for diagnostic: the omitted middle
operand will always be true
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: roland.illig at gmx dot de
Target Milestone: ---
From c-family.c:
> warning_at (location, OPT_Wparentheses,
> "the omitted middle operand in %<?:%> will always be %<true%>, "
> "suggest explicit middle operand");
The test suite does not contain the words "the omitted middle operand". As the
German i18n translator I'd like to see example code that triggers this warning,
so that I can translate it properly.
More information about the Gcc-bugs
mailing list