https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84999

            Bug ID: 84999
           Summary: [7/8 Regression] ICE in make_vector_type, at
                    tree.c:9561
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gs...@t-online.de
  Target Milestone: ---

Changed before 20171019, ICEs with option -m32 :


$ cat z1.c
void
foo (void)
{
  __attribute__ ((__vector_size__ (4 * sizeof (unsigned)))) __float128 a;
  0 != a;
}


$ gcc-7-20170226 -c z1.c -m64
$ gcc-7-20170226 -c z1.c -m32
$
$ gcc-8-20180318 -c z1.c -m64
$ gcc-8-20180318 -c z1.c -m32
z1.c: In function 'foo':
z1.c:5:3: internal compiler error: Segmentation fault
   0 != a;
   ^
0xaec94f crash_signal
        ../../gcc/toplev.c:325
0xd3619e make_vector_type
        ../../gcc/tree.c:9561
0xd367bc build_opaque_vector_type(tree_node*, poly_int<1u, long>)
        ../../gcc/tree.c:10536
0x68bef3 build_binary_op(unsigned int, tree_code, tree_node*, tree_node*, bool)
        ../../gcc/c/c-typeck.c:11668
0x68d9d4 parser_build_binary_op(unsigned int, tree_code, c_expr, c_expr)
        ../../gcc/c/c-typeck.c:3635
0x6a2b3a c_parser_binary_expression
        ../../gcc/c/c-parser.c:7037
0x6a31f5 c_parser_conditional_expression
        ../../gcc/c/c-parser.c:6645
0x6a3780 c_parser_expr_no_commas
        ../../gcc/c/c-parser.c:6562
0x6a3a02 c_parser_expression
        ../../gcc/c/c-parser.c:9292
0x6a4f09 c_parser_expression_conv
        ../../gcc/c/c-parser.c:9325
0x6b4941 c_parser_statement_after_labels
        ../../gcc/c/c-parser.c:5540
0x6b0bda c_parser_compound_statement_nostart
        ../../gcc/c/c-parser.c:5078
0x6b12e6 c_parser_compound_statement
        ../../gcc/c/c-parser.c:4912
0x6b29e0 c_parser_declaration_or_fndef
        ../../gcc/c/c-parser.c:2341
0x6b8623 c_parser_external_declaration
        ../../gcc/c/c-parser.c:1644
0x6b9099 c_parser_translation_unit
        ../../gcc/c/c-parser.c:1524
0x6b9099 c_parse_file()
        ../../gcc/c/c-parser.c:18411
0x6fbd55 c_common_parse_file()
        ../../gcc/c-family/c-opts.c:1132

Reply via email to