This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/80583] [6/7/8 Regression] ICE with target_clones and vectorized float: internal compiler error: in convert_move, at expr.c:270


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

Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |x86_64-*-*, i?86-*-*
             Status|WAITING                     |NEW
          Component|c++                         |target
      Known to work|                            |5.4.0
            Summary|ICE with target_clones and  |[6/7/8 Regression] ICE with
                   |vectorized float: internal  |target_clones and
                   |compiler error: in          |vectorized float: internal
                   |convert_move, at expr.c:270 |compiler error: in
                   |                            |convert_move, at expr.c:270

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % cat main.ii
struct S {
  __attribute__((__vector_size__(8 * sizeof(0)))) int a;
};
int __attribute__((target_clones("default", "avx2"))) main() {
  S *b{};
  auto c(b->a);
}

markus@x4 tmp % g++ -c main.ii
main.ii: In function ‘int main.avx2.0()’:
main.ii:6:8: internal compiler error: in convert_move, at expr.c:231
   auto c(b->a);
        ^
0xa29043 convert_move(rtx_def*, rtx_def*, int)
        /home/markus/gcc/gcc/expr.c:231
0xa30069 store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool,
tree_node*)
        /home/markus/gcc/gcc/expr.c:5629
0xa31783 expand_assignment(tree_node*, tree_node*, bool)
        /home/markus/gcc/gcc/expr.c:5321
0x90e7b7 expand_gimple_stmt_1
        /home/markus/gcc/gcc/cfgexpand.c:3639
0x90e7b7 expand_gimple_stmt
        /home/markus/gcc/gcc/cfgexpand.c:3737
0x91087f expand_gimple_basic_block
        /home/markus/gcc/gcc/cfgexpand.c:5744
0x91647e execute
        /home/markus/gcc/gcc/cfgexpand.c:6357

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]