https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99657
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |error-recovery Last reconfirmed| |2021-11-09 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- This is what I get on the trunk: t.c: In function ‘main’: t.c:26:11: error: this operation requires the SVE ISA extension 26 | if (__builtin_bcmp (&freq, a, 10)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ t.c:26:11: note: you can enable SVE using the command-line option ‘-march’, or by using the ‘target’ attribute or pragma during RTL pass: expand t.c:26:11: internal compiler error: Segmentation fault 0xd89133 crash_signal /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/toplev.c:322 0x9a8734 single_set(rtx_insn const*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/rtl.h:3585 0x9a8734 emit_move_insn(rtx_def*, rtx_def*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/expr.c:4131 0x97b63f force_reg(machine_mode, rtx_def*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/explow.c:678 0x159402b gen_adddi3(rtx_def*, rtx_def*, rtx_def*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/config/aarch64/aarch64.md:1960 0xc5e3eb expand_binop_directly /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/optabs.c:1431 0xc5c42b expand_binop(machine_mode, optab_tag, rtx_def*, rtx_def*, rtx_def*, int, optab_methods) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/optabs.c:1518 0x9a1f6f expand_expr_addr_expr /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/expr.c:8551 0x9a1f6f expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/expr.c:11767 0x836c57 expand_expr /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/expr.h:301 0x836c57 get_memory_rtx(tree_node*, tree_node*) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/builtins.c:1368 0x837b77 expand_builtin_memcmp /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/builtins.c:4284 0x844f9b expand_builtin(tree_node*, rtx_def*, rtx_def*, machine_mode, int) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/builtins.c:7267 0x9a3f8f expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/expr.c:11536 0x9b050b store_expr(tree_node*, rtx_def*, int, bool, bool) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/expr.c:6090 0x9b3637 expand_assignment(tree_node*, tree_node*, bool) /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/expr.c:5822 0x86bae3 expand_call_stmt /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/cfgexpand.c:2841 0x86bae3 expand_gimple_stmt_1 /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/cfgexpand.c:3876 0x86bae3 expand_gimple_stmt /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/cfgexpand.c:4040 0x8729f7 expand_gimple_basic_block /home/ubuntu/src/upstream-gcc-aarch64/gcc/gcc/cfgexpand.c:6085 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. This changed in GCC 10.3 and GCC 11.1.0.