From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C8CEA3858D32; Sun, 17 Sep 2023 18:27:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C8CEA3858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1694975251; bh=qmiAOZ13JD/9O7ngoH0szB7xP8rNpTIuqa9gsk8Gbcg=; h=From:To:Subject:Date:From; b=cMPSXwBEg7Ki74FrrvIhlCDK4KMhOCgUwcAISV7kww4XB4Nx+Gb3ce7V5lSmwiUsh V7ecaEf0ilE6f15+jUlAWTEGS0066Zu3NnToYnKAowstKQQhernjT7V7UU+G/6qYcz qmaxj3pKypwoigeG77gyybB5eh0KTaUUUxT6koSA= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111446] New: genmatch should warn/error out on recusive match patterns Date: Sun, 17 Sep 2023 18:27:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: internal-improvement X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111446 Bug ID: 111446 Summary: genmatch should warn/error out on recusive match patterns Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: internal-improvement Severity: normal Priority: P3 Component: middle-end Assignee: pinskia at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- After PR 111442 and PR 111435, I figure we should warn (or error out) about= the case where a match recusively uses itself as that will cause issues with VN= and almost always generate an infinite loop.=