https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84453
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- On x86_64-linux-gnu: $ cat /tmp/ice.ii struct a { void b(long() __attribute__((fastcall))) {} }; $ g++ ice.ii -m32 -c --param ggc-min-expand=0 --param ggc-min-heapsize=0 ice.ii:2:8: internal compiler error: in build_type_attribute_qual_variant, at attribs.c:1166 void b(long() __attribute__((fastcall))) {} ^ 0x8800a5 build_type_attribute_qual_variant(tree_node*, tree_node*, int) ../../gcc/attribs.c:1166 0x83c94d cp_build_type_attribute_variant(tree_node*, tree_node*) ../../gcc/cp/tree.c:4628 0x718c28 write_type ../../gcc/cp/mangle.c:2118 0x717b46 write_type ../../gcc/cp/mangle.c:2303 0x71a564 write_method_parms ../../gcc/cp/mangle.c:2796 0x71a846 write_bare_function_type ../../gcc/cp/mangle.c:2732 0x72238c mangle_decl_string ../../gcc/cp/mangle.c:3792 0x7226f3 get_mangled_id ../../gcc/cp/mangle.c:3814 0x7226f3 mangle_decl(tree_node*) ../../gcc/cp/mangle.c:3852 0x10992f2 decl_assembler_name(tree_node*) ../../gcc/tree.c:687 0x99791f symtab_node::get_comdat_group_id() ../../gcc/cgraph.h:215 0x99791f analyze_functions ../../gcc/cgraphunit.c:1081 0x999282 symbol_table::finalize_compilation_unit() ../../gcc/cgraphunit.c:2691