[Bug c++/77431] warn for having the same code in if-else branches

egall at gwmail dot gwu.edu gcc-bugzilla@gcc.gnu.org
Sun Sep 11 01:40:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77431

Eric Gallager <egall at gwmail dot gwu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egall at gwmail dot gwu.edu

--- Comment #2 from Eric Gallager <egall at gwmail dot gwu.edu> ---
(In reply to Marek Polacek from comment #1)
> Mine.  Any ideas for the name?

-Wduplicated-cond-body? Enabled by -Wduplicated-cond.
-Wduplicated-branches?
-Wredundant-branch?


More information about the Gcc-bugs mailing list