https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119888
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>: https://gcc.gnu.org/g:63bda370eddf091c456cea3df82e0e5aa9a1fa97 commit r15-9572-g63bda370eddf091c456cea3df82e0e5aa9a1fa97 Author: Patrick Palka <ppa...@redhat.com> Date: Tue Apr 22 12:55:05 2025 -0400 Revert "libstdc++: Optimize std::projected<I, std::identity>" [PR119888] This non-standard optimization breaks real-world code that expects the result of std::projected to always (be a class type and) have a value_type member, which isn't true for e.g. I=int*, so revert it for now. PR libstdc++/119888 This reverts commit 51761c50f843d5be4e24172535e4524b5072f24c.