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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-10-04
                 CC|                            |manu at gcc dot gnu.org
            Summary|-Wsign-conversion           |-Wsign-conversion
                   |erroneosly triggered when   |-Wconversion explicit cast
                   |converting to auto-deduced  |fails to silence warning
                   |interger type               |
     Ever confirmed|0                           |1

--- Comment #7 from Manuel López-Ibáñez <manu at gcc dot gnu.org> ---
Nothing to do with deduced types:

typedef unsigned long int uint64_t ;

void f(unsigned long int a, int q) {
  a = a + static_cast<uint64_t>(q);
}

Reply via email to