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/100773] New: ice in operator[], at vec.h:890 Date: Wed, 26 May 2021 14:55:11 +0000 [thread overview] Message-ID: <bug-100773-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100773 Bug ID: 100773 Summary: ice in operator[], at vec.h:890 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- Someplace between gcc trunk dated 20210524 (experimental) (0f3cd532fa02d178) and 20210526 (experimental) (0eac9c60ac1f28ee), this C code: fts_build_mail() { int attempts = 2; while (fts_build_mail_real()) if (--attempts == 0) break; } with compiler flag -O2 does this: $ /home/dcb/gcc/results/bin/gcc -c -O2 -w bug720.c during GIMPLE pass: evrp fts-build-mail.c: In function ‘fts_build_mail’: fts-build-mail.c:633:1: internal compiler error: in operator[], at vec.h:890 633 | } | ^ 0x1789c8e vec<range_def_chain::rdc, va_heap, vl_embed>::operator[](unsigned int) ../../trunk.git/gcc/vec.h:890 0x1789c8e vec<range_def_chain::rdc, va_heap, vl_ptr>::operator[](unsigned int) ../../trunk.git/gcc/vec.h:1461 0x1789c8e range_def_chain::register_dependency(tree_node*, tree_node*, basic_blo ck_def*) ../../trunk.git/gcc/gimple-range-gori.cc:179 0x177f4e6 fold_using_range::range_of_range_op(irange&, gimple*, fur_source&) ../../trunk.git/gcc/gimple-range.cc:447
next reply other threads:[~2021-05-26 14:55 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-05-26 14:55 dcb314 at hotmail dot com [this message] 2021-05-26 20:20 ` [Bug tree-optimization/100773] [12 Regression] " pinskia at gcc dot gnu.org 2021-05-27 6:27 ` dcb314 at hotmail dot com 2021-05-27 7:12 ` dcb314 at hotmail dot com 2021-05-27 8:12 ` dcb314 at hotmail dot com 2021-05-27 8:22 ` dcb314 at hotmail dot com 2021-05-27 8:33 ` pinskia at gcc dot gnu.org 2021-05-27 14:11 ` marxin at gcc dot gnu.org 2021-05-27 14:16 ` dcb314 at hotmail dot com
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-100773-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).