https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86218 Bug 86218 depends on bug 78244, which changed state.
Bug 78244 Summary: Narrowing conversion is accepted in a function template, but it should be rejected https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED