From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D427F3858D28; Thu, 28 Mar 2024 06:39:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D427F3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711607986; bh=r++tL2RLyT0UBK+rhOMv0/33cpMag8FuYI2tT1tYItk=; h=From:To:Subject:Date:From; b=PQNjf3Z2Z5eN8db8+rNgq62inzG+4UAj2BUth4G65wZY3cc9VM01PsnUkA5GTOgUE IzPH0eJyuK9H7BPA6cMYAnNIlAA7LxAyv8cZUhU98ACxesxntydI7x768gVj+b+yJG RzTAkx2PpJOEaIINspVbLk/sbyFyigjDG49oYK7U= From: "gccbugs at dima dot secretsauce.net" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/114509] New: Infinite loop with openmp Date: Thu, 28 Mar 2024 06:39:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gccbugs at dima dot secretsauce.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114509 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=3D57827&action=3Dedit 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=3D4: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=