From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1C124388B027; Mon, 11 May 2020 09:00:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C124388B027 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1589187640; bh=AaePYTXSwjG+qzQz0RiEQbPWpbu0WGLCuXB6GeYQL88=; h=From:To:Subject:Date:From; b=f0iHkbOV/MzFrJDdu9fSRM2EirjR7FcFmxTva93/qo/pogatVAIabC5BOKcfJOWYK cpZGeAVQKqNMsvYSUDNr5ThAMtKj9bAsOQBKWUE9nUBPhU1kYocCbWZTnCg6LUhRM5 hAiaOo9gu+4UJxpx2HrXURYEAUlXAYrNuX/2qQP0= From: "luis at luismarques dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/95049] New: GCC never terminates with trivial input program Date: Mon, 11 May 2020 09:00:39 +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: 9.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: luis at luismarques dot eu 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 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 May 2020 09:00:40 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D95049 Bug ID: 95049 Summary: GCC never terminates with trivial input program Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: luis at luismarques dot eu Target Milestone: --- Since at least GCC 9.1 the following trivial program results in an infinite compilation time when compiling with -O2 or higher. This continues to happen with GCC trunk as of the date of filing this bug. void a() { for (int b; b; b =3D !b) { } }=