https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104847
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jason Merrill <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:71e1db540c01a13b01fae054c92878a79252b471 commit r12-7849-g71e1db540c01a13b01fae054c92878a79252b471 Author: Jason Merrill <ja...@redhat.com> Date: Sat Mar 26 20:10:19 2022 -0400 c++: mangling union{1} in template [PR104847] My implementation of union non-type template arguments in r11-2016 broke braced casts of union type, because they are still in syntactic (undigested) form. PR c++/104847 gcc/cp/ChangeLog: * mangle.cc (write_expression): Don't write a union designator when undigested. gcc/testsuite/ChangeLog: * g++.dg/abi/mangle-union1.C: New test.