public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/110975] New: Missed unlooping
@ 2023-08-10 16:00 hubicka at gcc dot gnu.org
2023-08-10 16:22 ` [Bug middle-end/110975] " hubicka at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: hubicka at gcc dot gnu.org @ 2023-08-10 16:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110975
Bug ID: 110975
Summary: Missed unlooping
Product: gcc
Version: 13.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: hubicka at gcc dot gnu.org
Target Milestone: ---
This is what we generate from loop-split for hmmer benchmark:
int *a;
void
test (int n)
{
int i;
for (i=0 ; i < n; i++)
a[i]++;
for (i=0 ; i <= n; i++)
a[i]--;
}
The second loop never iterates but we don't seem to be able to figure this out
and leave the loop around.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-08-10 16:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-10 16:00 [Bug middle-end/110975] New: Missed unlooping hubicka at gcc dot gnu.org
2023-08-10 16:22 ` [Bug middle-end/110975] " hubicka at gcc dot gnu.org
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).