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

            Bug ID: 67887
           Summary: FAIL: gcc.dg/pr65345-3.c (internal compiler error)
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sch...@linux-m68k.org
  Target Milestone: ---
            Target: powerpc*-*-*

This crash exists at least since r222762.

$ gcc/xgcc -B gcc/ ../gcc/testsuite/gcc.dg/pr65345-3.c 
../gcc/testsuite/gcc.dg/pr65345-3.c:8:1: internal compiler error: Segmentation
fault
 float a3 = sizeof (i++);
 ^
0x106a5c4b crash_signal
        ../../gcc/toplev.c:353
0x1043df50 gimple_body(tree_node*)
        ../../gcc/gimple-expr.c:312
0x1045b05b gimple_add_tmp_var(tree_node*)
        ../../gcc/gimplify.c:700
0x1043e433 create_tmp_var(tree_node*, char const*)
        ../../gcc/gimple-expr.c:467
0x109734f7 rs6000_atomic_assign_expand_fenv
        ../../gcc/config/rs6000/rs6000.c:36506
0x101bce0f build_atomic_assign
        ../../gcc/c/c-typeck.c:3738
0x101bde53 build_unary_op(unsigned int, tree_code, tree_node*, int)
        ../../gcc/c/c-typeck.c:4131
0x101e5303 c_parser_postfix_expression_after_primary
        ../../gcc/c/c-parser.c:8089
0x101de7af c_parser_postfix_expression
        ../../gcc/c/c-parser.c:7806
0x101e103b c_parser_unary_expression
        ../../gcc/c/c-parser.c:6693
0x101e1db7 c_parser_cast_expression
        ../../gcc/c/c-parser.c:6531
0x101e202b c_parser_binary_expression
        ../../gcc/c/c-parser.c:6347
0x101e29eb c_parser_conditional_expression
        ../../gcc/c/c-parser.c:6123
0x101e2f5b c_parser_expr_no_commas
        ../../gcc/c/c-parser.c:6041
0x101e3627 c_parser_expression
        ../../gcc/c/c-parser.c:8113
0x101decbf c_parser_postfix_expression
        ../../gcc/c/c-parser.c:7309
0x101e103b c_parser_unary_expression
        ../../gcc/c/c-parser.c:6693
0x101e15b3 c_parser_sizeof_expression
        ../../gcc/c/c-parser.c:6743
0x101e15b3 c_parser_unary_expression
        ../../gcc/c/c-parser.c:6664
0x101e1db7 c_parser_cast_expression
        ../../gcc/c/c-parser.c:6531

Reply via email to