https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124447
--- Comment #15 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Marek Polacek <[email protected]>: https://gcc.gnu.org/g:9bb200e71ccf9c923bd9c7bd546130446fd76e95 commit r16-8047-g9bb200e71ccf9c923bd9c7bd546130446fd76e95 Author: Marek Polacek <[email protected]> Date: Wed Mar 11 16:10:12 2026 -0400 c++: require C++26 for -freflection [PR124447] -freflection is unusable without C++26 so let's not allow it. PR c++/124447 gcc/c-family/ChangeLog: * c-opts.cc (c_common_post_options): Error if -freflection is used without -std=c++26 or -std=gnu++26. Reviewed-by: Jason Merrill <[email protected]>
