https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125022
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Jason Merrill <[email protected]>: https://gcc.gnu.org/g:fb7d898dbc4d0b1bf099cae8635e205fa8981dc2 commit r17-121-gfb7d898dbc4d0b1bf099cae8635e205fa8981dc2 Author: Jason Merrill <[email protected]> Date: Mon Apr 27 21:41:05 2026 -0400 c++: ICE with [[trivial_abi]] [PR125022] We don't mess with cleanups at template parsing time. PR c++/125022 gcc/cp/ChangeLog: * decl.cc (store_parm_decls): Only do trivial_abi stuff when !processing_template_decl. gcc/testsuite/ChangeLog: * g++.dg/cpp0x/attr-trivial_abi7.C: New test.
