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/98213] New: [11 Regression] Never ending compilation at -O3 since r11-161-g283cb9ea6293e813 Date: Wed, 09 Dec 2020 10:46:06 +0000 [thread overview] Message-ID: <bug-98213-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98213 Bug ID: 98213 Summary: [11 Regression] Never ending compilation at -O3 since r11-161-g283cb9ea6293e813 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: compile-time-hog Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: marxin at gcc dot gnu.org CC: rguenth at gcc dot gnu.org Target Milestone: --- Since the revision, the following code does not terminate. The test-case was given by yarpgen: $ cat func.cpp long var_23; int var_24, test_var_8; extern bool arr_20[][13]; char arr_21_0_0_0_0_0; #include <algorithm> int *test_arr_0; void test(unsigned long long var_1) { int arr_16; for (int i_0 = 0;;) for (int i_5; i_5;) { for (int i_6 = 0; i_6 < 19; i_6 += 4) for (long i_7(test_var_8); i_7; i_7 += 2) { arr_20[0][i_7] = arr_21_0_0_0_0_0 = 0; var_23 = test_arr_0[0]; } var_24 = std::max((unsigned long long)arr_16, std::min((unsigned long long)5, var_1)); } } $ timeout 10 g++ -O3 func.cpp -c $ echo $? 124
next reply other threads:[~2020-12-09 10:46 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-12-09 10:46 marxin at gcc dot gnu.org [this message] 2020-12-09 10:46 ` [Bug tree-optimization/98213] " marxin at gcc dot gnu.org 2020-12-09 12:45 ` rguenth at gcc dot gnu.org 2020-12-09 13:00 ` marxin at gcc dot gnu.org 2020-12-09 14:37 ` rguenth at gcc dot gnu.org 2020-12-09 16:27 ` cvs-commit at gcc dot gnu.org 2020-12-09 16:27 ` 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-98213-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).