[Bug c++/60009] g++ allows copy-initialization of an array of class type from a non-braced string literal

ppalka at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Oct 6 18:42:34 GMT 2021


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

Patrick Palka <ppalka at gcc dot gnu.org> changed:

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

--- Comment #4 from Patrick Palka <ppalka at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #3)
> Fixed in GCC 7, I cannot figure out which revision fixed it though.
> 
> Note r8-7514 fixes the error message though where in GCC 7 would print out
> some error messages dealing with no matching of constructors.

Fixed by r7-7236 FWIW


More information about the Gcc-bugs mailing list