https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66216
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code, | |rejects-valid Status|UNCONFIRMED |NEW Last reconfirmed| |2015-05-20 Summary|Defaulted Operators and |[6 Regression] Defaulted |contructors not working |Operators and constructors |with aligned attribute |not working with aligned | |attribute Ever confirmed|0 |1 --- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> --- And now it gives an ICE on trunk, so it's regressed from rejects-valid to ice-on-valid-code: a.cc:1:7: internal compiler error: canonical types differ for identical types const CMymy and const CMymy class CMymy ^ 0x1033333f comptypes(tree_node*, tree_node*, int) /home/jwakely/src/gcc/gcc/cp/typeck.c:1423 0x1033108b structural_comptypes /home/jwakely/src/gcc/gcc/cp/typeck.c:1357 0x103332e7 comptypes(tree_node*, tree_node*, int) /home/jwakely/src/gcc/gcc/cp/typeck.c:1415 0x1033675f compparms(tree_node const*, tree_node const*) /home/jwakely/src/gcc/gcc/cp/typeck.c:1534 0x10379fc7 defaulted_late_check(tree_node*) /home/jwakely/src/gcc/gcc/cp/method.c:1972 0x1029a5ff check_bases_and_members /home/jwakely/src/gcc/gcc/cp/class.c:5808 0x1029c4f3 finish_struct_1(tree_node*) /home/jwakely/src/gcc/gcc/cp/class.c:6582 0x1029ef53 finish_struct(tree_node*, tree_node*) /home/jwakely/src/gcc/gcc/cp/class.c:6888 0x102ebd73 cp_parser_class_specifier_1 /home/jwakely/src/gcc/gcc/cp/parser.c:19868 0x102ebd73 cp_parser_class_specifier /home/jwakely/src/gcc/gcc/cp/parser.c:20096 0x102ebd73 cp_parser_type_specifier /home/jwakely/src/gcc/gcc/cp/parser.c:14734 0x10305447 cp_parser_decl_specifier_seq /home/jwakely/src/gcc/gcc/cp/parser.c:11965 0x1031d9c7 cp_parser_simple_declaration /home/jwakely/src/gcc/gcc/cp/parser.c:11542 0x10315547 cp_parser_block_declaration /home/jwakely/src/gcc/gcc/cp/parser.c:11489 0x10322abf cp_parser_declaration /home/jwakely/src/gcc/gcc/cp/parser.c:11386 0x10320a5f cp_parser_declaration_seq_opt /home/jwakely/src/gcc/gcc/cp/parser.c:11272 0x10320e43 cp_parser_translation_unit /home/jwakely/src/gcc/gcc/cp/parser.c:4107 0x10320e43 c_parse_file() /home/jwakely/src/gcc/gcc/cp/parser.c:33213 0x104b160b c_common_parse_file() /home/jwakely/src/gcc/gcc/c-family/c-opts.c:1067