[Bug libstdc++/82252] src/filesystem/ops.cc:392]: (warning) Identical condition

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 19 11:48:00 GMT 2017


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
No, because the call to file_time can set 'ec', so even if (bool)ec is
originally false, it can become true.


More information about the Gcc-bugs mailing list