public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "acoplan at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/107896] New: ICE in supportable_widening_operation, at tree-vect-stmts.cc:12199 breaking arm bootstrap Date: Mon, 28 Nov 2022 16:04:27 +0000 [thread overview] Message-ID: <bug-107896-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107896 Bug ID: 107896 Summary: ICE in supportable_widening_operation, at tree-vect-stmts.cc:12199 breaking arm bootstrap Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: acoplan at gcc dot gnu.org Target Milestone: --- The following fails (reduced from arm bootstrap): $ cat t.cc struct gcc_options { int x_flag_tree_phiprop; int x_flag_tree_pre; int x_flag_tree_pta; int x_flag_tree_reassoc; int x_flag_tree_scev_cprop; int x_flag_tree_sink; int x_flag_tree_slp_vectorize; int x_flag_web; } cl_optimization_restore_opts; signed char cl_optimization_restore_ptr_1, cl_optimization_restore_ptr_0; void cl_optimization_restore() { cl_optimization_restore_opts .x_flag_tree_phiprop = cl_optimization_restore_opts.x_flag_tree_pre = cl_optimization_restore_opts.x_flag_tree_pta = cl_optimization_restore_opts.x_flag_tree_reassoc = cl_optimization_restore_opts.x_flag_tree_scev_cprop = cl_optimization_restore_opts.x_flag_tree_sink = cl_optimization_restore_opts.x_flag_tree_slp_vectorize = cl_optimization_restore_ptr_0; cl_optimization_restore_opts.x_flag_web = cl_optimization_restore_ptr_1; } $ gcc/xgcc -B gcc -c t.cc -O2 -march=armv8-a+crypto during GIMPLE pass: slp t.cc: In function ‘void cl_optimization_restore()’: t.cc:12:6: internal compiler error: in supportable_widening_operation, at tree-vect-stmts.cc:12199 12 | void cl_optimization_restore() { | ^~~~~~~~~~~~~~~~~~~~~~~ 0x1dd0b13 supportable_widening_operation(vec_info*, tree_code, _stmt_vec_info*, tree_node*, tree_node*, tree_code*, tree_code*, int*, vec<tree_node*, va_heap, vl_ptr>*) /home/alecop01/toolchain/src/gcc/gcc/tree-vect-stmts.cc:12199 0x1dd5ef5 vectorizable_conversion /home/alecop01/toolchain/src/gcc/gcc/tree-vect-stmts.cc:5064 0x1df36c6 vect_analyze_stmt(vec_info*, _stmt_vec_info*, bool*, _slp_tree*, _slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*) /home/alecop01/toolchain/src/gcc/gcc/tree-vect-stmts.cc:11256 0x13a164d vect_slp_analyze_node_operations_1 /home/alecop01/toolchain/src/gcc/gcc/tree-vect-slp.cc:5957 0x13a164d vect_slp_analyze_node_operations /home/alecop01/toolchain/src/gcc/gcc/tree-vect-slp.cc:6147 0x13a1556 vect_slp_analyze_node_operations /home/alecop01/toolchain/src/gcc/gcc/tree-vect-slp.cc:6126 0x13a3b37 vect_slp_analyze_operations(vec_info*) /home/alecop01/toolchain/src/gcc/gcc/tree-vect-slp.cc:6387 0x13a8ce8 vect_slp_analyze_bb_1 /home/alecop01/toolchain/src/gcc/gcc/tree-vect-slp.cc:7372 0x13a8ce8 vect_slp_region /home/alecop01/toolchain/src/gcc/gcc/tree-vect-slp.cc:7419 0x13a9b9d vect_slp_bbs /home/alecop01/toolchain/src/gcc/gcc/tree-vect-slp.cc:7610 0x13aa1c1 vect_slp_function(function*) /home/alecop01/toolchain/src/gcc/gcc/tree-vect-slp.cc:7698 0x13b3ec6 execute /home/alecop01/toolchain/src/gcc/gcc/tree-vectorizer.cc:1532 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. $ gcc/xgcc -B gcc -v Reading specs from gcc/specs COLLECT_GCC=gcc/xgcc COLLECT_LTO_WRAPPER=gcc/lto-wrapper Target: arm-linux-gnueabihf Configured with: /home/alecop01/toolchain/src/gcc/configure --prefix=/data_sdb/toolchain/cc1s/arm-lin --enable-languages=c,c++ --disable-bootstrap --target=arm-linux-gnueabihf Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221128 (experimental) (GCC)
next reply other threads:[~2022-11-28 16:04 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-28 16:04 acoplan at gcc dot gnu.org [this message] 2022-11-28 16:11 ` [Bug tree-optimization/107896] [13 Regression] " pinskia at gcc dot gnu.org 2022-11-28 16:22 ` pinskia at gcc dot gnu.org 2022-11-28 16:25 ` rguenth at gcc dot gnu.org 2022-11-28 18:41 ` cvs-commit at gcc dot gnu.org 2022-11-28 18:41 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-107896-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).