public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dcb314 at hotmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107826] New: ice during GIMPLE pass: slp Date: Tue, 22 Nov 2022 20:11:51 +0000 [thread overview] Message-ID: <bug-107826-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107826 Bug ID: 107826 Summary: ice during GIMPLE pass: slp Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For the following reduced C code, compiled as follows: $ ~/gcc/results/bin/gcc -c -O2 -std=c99 bug864B.c during GIMPLE pass: slp bug864B.c:3:1: internal compiler error: Segmentation fault 3 | cpl_image_multiply_scalar_self() { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 0xd7e3a9 crash_signal(int) ../../trunk.d1/gcc/toplev.cc:314 0x105cabc contains_struct_check(tree_node*, tree_node_structure_enum, char const *, int, char const*) ../../trunk.d1/gcc/tree.h:3645 0x105cabc complex_mul_pattern::matches(_complex_operation, hash_map<_slp_tree*, _complex_perm_kinds, simple_hashmap_traits<default_hash_traits<_slp_tree*>, _com plex_perm_kinds> >*, hash_map<pair_hash<nofree_ptr_hash<_slp_tree>, nofree_ptr_h ash<_slp_tree> >, bool, simple_hashmap_traits<default_hash_traits<pair_hash<nofr ee_ptr_hash<_slp_tree>, nofree_ptr_hash<_slp_tree> > >, bool> >*, _slp_tree**, v ec<_slp_tree*, va_heap, vl_ptr>*) C code is: enum { CPL_TYPE_FLOAT, CPL_TYPE_FLOAT_COMPLEX } __assert_fail; cpl_image_multiply_scalar_nxy; cpl_image_multiply_scalar_self() { switch (cpl_image_get_type()) { double *pio; unsigned long i; pio[i] *= 0; case CPL_TYPE_FLOAT: for (; cpl_image_multiply_scalar_nxy; i++) pio[i] *= 0; for (; cpl_image_multiply_scalar_nxy;) case CPL_TYPE_FLOAT_COMPLEX: { _Complex *pio = cpl_image_multiply_scalar_self; _Complex cscalar = __assert_fail; for (;; i++) pio[i] *= cscalar; } } } The code seems to first go wrong sometime between git hash 2b2f2ee49a33419f and 59cc4da605e5cb8e, a day later.
next reply other threads:[~2022-11-22 20:12 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-22 20:11 dcb314 at hotmail dot com [this message] 2022-11-22 20:15 ` [Bug tree-optimization/107826] " pinskia at gcc dot gnu.org 2022-11-23 9:55 ` marxin at gcc dot gnu.org 2022-11-28 22:39 ` [Bug tree-optimization/107826] [13 Regression] " pinskia 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-107826-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).