[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Nov 13 17:13:00 GMT 2018


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
When we are tsubsting this it is from fold_nondependent_expr which is called
with complain == tf_none and that is why nothing is reported.


More information about the Gcc-bugs mailing list