[Bug c++/123818] Different default arguments to 2 different functions sometimes go wrong and use the first one only

debashish47 at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 27 21:26:21 GMT 2026


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

Debashish Ghosh <debashish47 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |debashish47 at gmail dot com

--- Comment #2 from Debashish Ghosh <debashish47 at gmail dot com> ---
(In reply to Andrew Pinski from comment #1)
> I should note Arsen Arsenović reported this to me and he mentioned it was
> reported on reddit (I have not checked yet).

This is the thread -
https://www.reddit.com/r/cpp_questions/comments/1qluiv2/help_me_understand_if_this_is_a_bug_on_gcc/.


More information about the Gcc-bugs mailing list