https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118278
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:8d9d583484006a75bc3ed3b3badb585f3a0bb546 commit r15-6917-g8d9d583484006a75bc3ed3b3badb585f3a0bb546 Author: Jakub Jelinek <ja...@redhat.com> Date: Wed Jan 15 17:04:31 2025 +0100 c++: Implement mangling of RAW_DATA_CST [PR118278] As the following testcases show (mangle80.C only after reversion of the temporary reversion of C++ large array speedup commit), RAW_DATA_CST can be seen during mangling of some templates and we ICE because the mangler doesn't handle it. The following patch handles it and mangles it the same as a sequence of INTEGER_CSTs that were used previously instead. The only slight complication is that if ce->value is the last nonzero element, we need to skip the zeros at the end of RAW_DATA_CST. 2025-01-03 Jakub Jelinek <ja...@redhat.com> PR c++/118278 * mangle.cc (write_expression): Handle RAW_DATA_CST. * g++.dg/abi/mangle80.C: New test. * g++.dg/cpp/embed-19.C: New test.