[Bug c++/91335] New: False positive "unused variable" warning with variable initialized in 'if' condition

2019-08-02 Thread zeratul976 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91335 Bug ID: 91335 Summary: False positive "unused variable" warning with variable initialized in 'if' condition Product: gcc Version: unknown Status: UNCONFIRMED Se

[Bug c++/91335] False positive "unused variable" warning with variable initialized in 'if' condition

2019-08-02 Thread zeratul976 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91335 --- Comment #1 from Nathan Ridge --- (In reply to Nathan Ridge from comment #0) > As a result, the only way to fix the warning is to lift the variable into > the outer scope, which can be undesirable from a code style point of view: (Well, or I

[Bug c++/64372] [DR1560] Gratuitous lvalue-to-rvalue conversion in conditional-expression with throw-expression operand

2019-08-02 Thread jbassett271 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64372 Justin Bassett changed: What|Removed |Added CC||jbassett271 at gmail dot com --- Commen

<    1   2