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

            Bug ID: 88261
           Summary: [9 Regression] ICE: verify_gimple failed (error:
                    non-trivial conversion at assignment)
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: asolokha at gmx dot com
  Target Milestone: ---

g++-9.0.0-alpha20181125 snapshot (r266441) ICEs when compiling
gcc/testsuite/gcc.dg/array-6.c or gcc/testsuite/gcc.dg/array-14.c:

% g++-9.0.0-alpha20181125 -c gcc/testsuite/gcc.dg/array-6.c
gcc/testsuite/gcc.dg/array-6.c: In function 'void foo()':
gcc/testsuite/gcc.dg/array-6.c:12:6: error: non-trivial conversion at
assignment
   12 | void foo()
      |      ^~~
char[<unknown>]
char[2]
c.s = "c";
gcc/testsuite/gcc.dg/array-6.c:12:6: error: non-trivial conversion at
assignment
char[<unknown>]
char[2]
d.s = "d";
gcc/testsuite/gcc.dg/array-6.c:12:6: error: non-trivial conversion at
assignment
char[<unknown>]
char[2]
e.s = "e";
gcc/testsuite/gcc.dg/array-6.c:12:6: internal compiler error: verify_gimple
failed
0xf44c0d verify_gimple_in_seq(gimple*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181125/work/gcc-9-20181125/gcc/tree-cfg.c:5082
0xca20d6 gimplify_body(tree_node*, bool)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181125/work/gcc-9-20181125/gcc/gimplify.c:13636
0xca22d7 gimplify_function_tree(tree_node*)
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181125/work/gcc-9-20181125/gcc/gimplify.c:13726
0xb0dc17 cgraph_node::analyze()
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181125/work/gcc-9-20181125/gcc/cgraphunit.c:667
0xb1087f analyze_functions
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181125/work/gcc-9-20181125/gcc/cgraphunit.c:1126
0xb11452 symbol_table::finalize_compilation_unit()
       
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181125/work/gcc-9-20181125/gcc/cgraphunit.c:2835

Reply via email to