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

--- Comment #12 from David Binderman <dcb314 at hotmail dot com> ---
Here is a test case which seems to demonstrate the problem:

$ /home/dcb38/gcc/results/bin/gcc -c -w -O1 -march=znver1 bug935.c
during GIMPLE pass: fre
bug935.c: In function ‘func_63’:
bug935.c:5:6: internal compiler error: tree check: expected none of
vector_type,
 have vector_type in gimple_simplify_144, at gimple-match-3.cc:1027
    5 | void func_63() {
      |      ^~~~~~~
0x11656f9 tree_not_check_failed(tree_node const*, char const*, int, char
const*,
 ...)
        ../../trunk.year/gcc/tree.cc:8936
0x1dc7c8b gimple_simplify_144(gimple_match_op*, gimple**, tree_node*
(*)(tree_no
de*), tree_node*, tree_node**, tree_code)
        /home/dcb38/gcc/working/gcc/gimple-match-3.cc:1027
0x1db5e1a gimple_simplify_BIT_AND_EXPR(gimple_match_op*, gimple**, tree_node*
(*
)(tree_node*), code_helper, tree_node*, tree_node*, tree_node*)
        /home/dcb38/gcc/working/gcc/gimple-match-2.cc:16999

Reply via email to