[Bug c/89288] New: [9 Regression] ICE in tree_code_size, at tree.c:865
gscfq@t-online.de
gcc-bugzilla@gcc.gnu.org
Mon Feb 11 17:25:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89288
Bug ID: 89288
Summary: [9 Regression] ICE in tree_code_size, at tree.c:865
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Changed between 20181118 and 20181125 :
$ cat z1.c
typedef int Assert [(__builtin_has_attribute (1, target("sse")) == 1)];
$ gcc-9-20190210 -c z1.c
z1.c:1:1: internal compiler error: in tree_code_size, at tree.c:865
1 | typedef int Assert [(__builtin_has_attribute (1, target("sse")) == 1)];
| ^~~~~~~
0xcbace1 tree_code_size(tree_code)
../../gcc/tree.c:865
0xcbae2c make_node(tree_code)
../../gcc/tree.c:1038
0xcbdd2b build_decl(unsigned int, tree_code, tree_node*, tree_node*)
../../gcc/tree.c:5023
0x692278 validate_attribute
../../gcc/c-family/c-attribs.c:4036
0x692278 has_attribute(unsigned int, tree_node*, tree_node*, tree_node*
(*)(tree_node*))
../../gcc/c-family/c-attribs.c:4069
0x61d28d c_parser_has_attribute_expression
../../gcc/c/c-parser.c:7665
0x61d28d c_parser_unary_expression
../../gcc/c/c-parser.c:7356
0x61d537 c_parser_cast_expression
../../gcc/c/c-parser.c:7222
0x61d7e3 c_parser_binary_expression
../../gcc/c/c-parser.c:7025
0x61e695 c_parser_conditional_expression
../../gcc/c/c-parser.c:6759
0x61ebe0 c_parser_expr_no_commas
../../gcc/c/c-parser.c:6676
0x61ee42 c_parser_expression
../../gcc/c/c-parser.c:9727
0x611c33 c_parser_postfix_expression
../../gcc/c/c-parser.c:8200
0x61c512 c_parser_unary_expression
../../gcc/c/c-parser.c:7380
0x61d537 c_parser_cast_expression
../../gcc/c/c-parser.c:7222
0x61d7e3 c_parser_binary_expression
../../gcc/c/c-parser.c:7025
0x61e695 c_parser_conditional_expression
../../gcc/c/c-parser.c:6759
0x61ebe0 c_parser_expr_no_commas
../../gcc/c/c-parser.c:6676
0x61b7c1 c_parser_direct_declarator_inner
../../gcc/c/c-parser.c:3844
0x62fbe1 c_parser_declaration_or_fndef
../../gcc/c/c-parser.c:1999
More information about the Gcc-bugs
mailing list