public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/103856] New: ICE during GIMPLE pass: hardcmp since r12-4759-g95bb87b2458bfab4 Date: Wed, 29 Dec 2021 12:06:37 +0000 [thread overview] Message-ID: <bug-103856-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103856 Bug ID: 103856 Summary: ICE during GIMPLE pass: hardcmp since r12-4759-g95bb87b2458bfab4 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: marxin at gcc dot gnu.org CC: aoliva at gcc dot gnu.org Target Milestone: --- The following fails: $ cat ice.ii struct S { S(float); S(); operator float(); ~S() {} }; int main() { S s_arr[]{2}; S var1; if (var1) ; } $ g++ -Og -fnon-call-exceptions -fsignaling-nans -fharden-compares -c ice.ii ice.ii: In function ‘int main()’: ice.ii:9:1: error: missing ‘PHI’ def 9 | main() { | ^~~~ _5 = PHI <&MEM <struct S[1]> [(void *)&s_arr + 1B](4), &MEM <struct S[1]> [(void *)&s_arr + 1B](2), &MEM <struct S[1]> [(void *)&s_arr + 1B](3), (5)> during GIMPLE pass: hardcmp ice.ii:9:1: internal compiler error: verify_gimple failed 0x1289035 verify_gimple_in_cfg(function*, bool) /home/marxin/Programming/gcc/gcc/tree-cfg.c:5578 0x114f4ee execute_function_todo /home/marxin/Programming/gcc/gcc/passes.c:2084 0x114fb0b execute_todo /home/marxin/Programming/gcc/gcc/passes.c:2138 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.
next reply other threads:[~2021-12-29 12:06 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-29 12:06 marxin at gcc dot gnu.org [this message] 2021-12-29 21:25 ` [Bug tree-optimization/103856] " pinskia at gcc dot gnu.org 2022-02-13 9:02 ` [Bug tree-optimization/103856] ICE during GIMPLE pass: hardcmp since r12-4759-g95bb87b2458bfab4 and -fnon-call-exceptions -fsignaling-nans pinskia at gcc dot gnu.org 2022-02-17 12:41 ` aoliva at gcc dot gnu.org 2022-02-17 12:44 ` aoliva at gcc dot gnu.org 2022-02-25 1:19 ` cvs-commit at gcc dot gnu.org 2022-02-25 1:43 ` aoliva 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-103856-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).