public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "asolokha at gmx dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103311] New: [12 Regression] ICE in complex_mul_pattern::build(vec_info*) Date: Thu, 18 Nov 2021 10:42:21 +0000 [thread overview] Message-ID: <bug-103311-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103311 Bug ID: 103311 Summary: [12 Regression] ICE in complex_mul_pattern::build(vec_info*) Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: asolokha at gmx dot com Target Milestone: --- Target: aarch64-linux-gnu gcc-12.0.0-alpha20111114 snapshot (g:3057f1ab737582a9fb37a3fb967ed8bf3659f2f4) ICEs when compiling the following testcase w/ -march=armv8.3-a -O1 -ftree-slp-vectorize: _Complex double y; void cbknu (_Complex double f) { const _Complex double cone = 1.0e0; f = f * cone; y = f * cone; } % aarch64-linux-gnu-gcc-12.0.0 -march=armv8.3-a -O1 -ftree-slp-vectorize -c cbknu.c during GIMPLE pass: slp cbknu.c: In function 'cbknu': cbknu.c:4:1: internal compiler error: in operator[], at vec.h:889 4 | cbknu (_Complex double f) | ^~~~~ 0x7e18be vec<tree_node*, va_heap, vl_embed>::operator[](unsigned int) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/vec.h:889 0x7e1a73 vec<_slp_tree*, va_heap, vl_embed>::operator[](unsigned int) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp-patterns.c:1119 0x7e1a73 vec<_slp_tree*, va_heap, vl_ptr>::operator[](unsigned int) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/vec.h:1495 0x7e1a73 complex_mul_pattern::build(vec_info*) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp-patterns.c:1083 0x11f8b00 vect_match_slp_patterns_2 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:2915 0x11f8aa6 vect_match_slp_patterns_2 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:2907 0x11f8aa6 vect_match_slp_patterns_2 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:2907 0x11fce1e vect_match_slp_patterns /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:2943 0x11fce1e vect_analyze_slp(vec_info*, unsigned int) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:3426 0x12030dc vect_slp_analyze_bb_1 /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:5744 0x12030dc vect_slp_region /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:5846 0x1204b24 vect_slp_bbs /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:6038 0x1204f68 vect_slp_function(function*) /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vect-slp.c:6126 0x120c28a execute /var/tmp/portage/cross-aarch64-linux-gnu/gcc-12.0.0_alpha20211114/work/gcc-12-20211114/gcc/tree-vectorizer.c:1459
next reply other threads:[~2021-11-18 10:42 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-18 10:42 asolokha at gmx dot com [this message] 2021-11-18 11:26 ` [Bug tree-optimization/103311] " rguenth at gcc dot gnu.org 2021-11-18 11:42 ` [Bug tree-optimization/103311] [12 Regression] ICE in complex_mul_pattern::build(vec_info*) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce marxin at gcc dot gnu.org 2021-11-18 11:46 ` tnfchris at gcc dot gnu.org 2021-11-18 17:12 ` cvs-commit at gcc dot gnu.org 2021-11-18 17:21 ` tnfchris at gcc dot gnu.org 2021-11-18 23:01 ` tnfchris at gcc dot gnu.org 2021-11-19 15:13 ` cvs-commit at gcc dot gnu.org 2021-11-19 15:14 ` tnfchris 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-103311-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).