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

Bill Schmidt <wschmidt at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code
             Target|powerpc64                   |powerpc64*-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2018-01-03
                 CC|                            |meissner at gcc dot gnu.org,
                   |                            |segher at gcc dot gnu.org
   Target Milestone|---                         |8.0
     Ever confirmed|0                           |1

--- Comment #1 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Confirmed on trunk with ppc64le.  I don't think the direct move instruction is
involved since the problem occurs during gimplification, though it's mystifying
to me why the target CPU should matter.  Note that vec_extract has special
handling during parsing, in gcc/config/rs6000/rs6000-c.c, and this is probably
at fault.  That's old code, so I imagine this bug has been out there forever.

wschmidt@pike:~/src$ $GCC_INSTALL/bin/g++ -mcpu=power7 -S pr83660.C
pr83660.C: In function 'unsigned int get_word(__vector(4) unsigned int)':
pr83660.C:5:10: internal compiler error: in verify_gimple_stmt, at
tree-cfg.c:5085
 unsigned get_word(uvec32_t v)
          ^~~~~~~~
0x10c5e54f verify_gimple_stmt
        /home/wschmidt/gcc/gcc-mainline-base/gcc/tree-cfg.c:5085
0x10c5f467 verify_gimple_in_seq_2
        /home/wschmidt/gcc/gcc-mainline-base/gcc/tree-cfg.c:5200
0x10c5f427 verify_gimple_in_seq_2
        /home/wschmidt/gcc/gcc-mainline-base/gcc/tree-cfg.c:5168
0x10c66237 verify_gimple_in_seq(gimple*)
        /home/wschmidt/gcc/gcc-mainline-base/gcc/tree-cfg.c:5239
0x108a8047 gimplify_body(tree_node*, bool)
        /home/wschmidt/gcc/gcc-mainline-base/gcc/gimplify.c:12694
0x108a84a3 gimplify_function_tree(tree_node*)
        /home/wschmidt/gcc/gcc-mainline-base/gcc/gimplify.c:12784
0x10663557 cgraph_node::analyze()
        /home/wschmidt/gcc/gcc-mainline-base/gcc/cgraphunit.c:670
0x10667763 analyze_functions
        /home/wschmidt/gcc/gcc-mainline-base/gcc/cgraphunit.c:1131
0x1066913b symbol_table::finalize_compilation_unit()
        /home/wschmidt/gcc/gcc-mainline-base/gcc/cgraphunit.c:2690
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to