public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Richard Biener <rguenth@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r13-5378] tree-optimization/108523 - testcase for the bug Date: Thu, 26 Jan 2023 07:39:57 +0000 (GMT) [thread overview] Message-ID: <20230126073957.016D23858416@sourceware.org> (raw) https://gcc.gnu.org/g:1f6d05e9ad858b59b824f57d09400adcb2c5e4ad commit r13-5378-g1f6d05e9ad858b59b824f57d09400adcb2c5e4ad Author: Richard Biener <rguenther@suse.de> Date: Thu Jan 26 08:38:35 2023 +0100 tree-optimization/108523 - testcase for the bug This adds a reduced testcase for the PR. PR tree-optimization/108523 * gcc.dg/torture/pr108523.c: New testcase. Diff: --- gcc/testsuite/gcc.dg/torture/pr108523.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gcc/testsuite/gcc.dg/torture/pr108523.c b/gcc/testsuite/gcc.dg/torture/pr108523.c new file mode 100644 index 00000000000..a04160baf2a --- /dev/null +++ b/gcc/testsuite/gcc.dg/torture/pr108523.c @@ -0,0 +1,16 @@ +/* { dg-do compile } */ + +int g_149, g_167, g_481; +int main() { + int *l_1478 = &g_149; + *l_1478 ^= g_167; +lbl_1481: + for (;;) { + g_481 = 1; + for (; g_481 < 100000; g_481 += 1) { + g_167 ^= *l_1478; + if (g_149) + goto lbl_1481; + } + } +}
reply other threads:[~2023-01-26 7:39 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20230126073957.016D23858416@sourceware.org \ --to=rguenth@gcc.gnu.org \ --cc=gcc-cvs@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).