[Bug c++/85914] -Wreturn-type false positive with a ternary that is always false (fixed?)
manu at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 20 22:04:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85914
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2018-09-20
Summary|-Wreturn-type false |-Wreturn-type false
|positive with a ternary |positive with a ternary
|that is always false |that is always false
| |(fixed?)
Ever confirmed|0 |1
--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
This does not warn in GCC 9. It will be worth adding the testcase to the
testsuite.
More information about the Gcc-bugs
mailing list