https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114509
Bug ID: 114509 Summary: Infinite loop with openmp Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gccbugs at dima dot secretsauce.net Target Milestone: --- Created attachment 57827 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57827&action=edit Reduced reproducer I git a bug in gcc 13.2 where an openmp loop causes he compiler to spin the cpu, and never finish. I used creduce to minimize the test case, and the reduced source is attached. I'm running Debian GNU/Linux with gcc=4:13.2.0-1. I get an infinite loop with gcc-13 -fopenmp -c -o /dev/null /tmp/infinite-openmp.c I happen to also have gcc-10 and gcc-11 installed, and they both produce an infinite loop with that input as well. Thanks