https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97879
Bug ID: 97879 Summary: [11 Regression] ICE in from_mode_char, at attribs.h:298 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- This changed too between 20200823 and 20201004 : (all with release builts) $ cat z1.c __attribute__ ((__access__(" ", 1))) void f (int *); void f (int *); $ cat z2.c __attribute__ ((access ("none", 1))) void f (char *); void f (char *); $ gcc-11-20200823 -c z1.c $ $ gcc-11-20201115 -c z1.c z1.c:2:1: internal compiler error: in from_mode_char, at attribs.h:298 2 | void f (int *); | ^~~~ 0x62a79a attr_access::from_mode_char(char) ../../gcc/attribs.h:298 0x62a79a init_attr_rdwr_indices(hash_map<rdwr_access_hash, attr_access, simple_hashmap_traits<default_hash_traits<rdwr_access_hash>, attr_access> >*, tree_node*) ../../gcc/attribs.c:2069 0x6feec2 warn_parm_array_mismatch(unsigned int, tree_node*, tree_node*) ../../gcc/c-family/c-warn.c:3345 0x68931f c_parser_declaration_or_fndef ../../gcc/c/c-parser.c:2346 0x690297 c_parser_external_declaration ../../gcc/c/c-parser.c:1777 0x690db9 c_parser_translation_unit ../../gcc/c/c-parser.c:1650 0x690db9 c_parse_file() ../../gcc/c/c-parser.c:21882 0x6dfb82 c_common_parse_file() ../../gcc/c-family/c-opts.c:1196