[Bug c++/115941] g++ compiler version 15 doesn't fails to build when g++ 12 does (may be related to PR 109247)

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 15 15:33:42 GMT 2024


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=84849,
                   |                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=60027

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Related to PR 84849 and PR 60027.

Note other compilers don't always implement the correct rules when it comes
initializer list and explicit constructors.


See https://cplusplus.github.io/CWG/issues/1228.html which was closed as NAD
but currently only GCC implements it correctly.


More information about the Gcc-bugs mailing list