[Bug c++/124628] ICE: tree check: expected tree that contains 'typed' structure, have 'deferred_noexcept' in type_dependent_expression_p, at cp/pt.cc:30104

hewillk at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 25 03:25:18 GMT 2026


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

--- Comment #1 from 康桓瑋 <hewillk at gmail dot com> ---
If the return type of f() is explicitly specified as const char*, there is no
ICE.


More information about the Gcc-bugs mailing list