This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/52697] -Wsign-conversion warns for obviously correct code with implicit promotion to int
- From: "manu at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Mar 2012 09:54:22 +0000
- Subject: [Bug c++/52697] -Wsign-conversion warns for obviously correct code with implicit promotion to int
- Auto-submitted: auto-generated
- References: <bug-52697-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52697
Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |manu at gcc dot gnu.org
Resolution| |DUPLICATE
--- Comment #1 from Manuel LÃpez-IbÃÃez <manu at gcc dot gnu.org> 2012-03-24 09:54:22 UTC ---
Despite the testcase is different and the warning/option are also different,
this is the same as 51294. unsafe_conversion_p should recurse for the ternary
operator.
*** This bug has been marked as a duplicate of bug 51294 ***