From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8C7CB385EC56; Thu, 24 Jun 2021 22:14:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C7CB385EC56 From: "llvm at rifkin dot dev" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/92105] [8/9/10 Regression] decltype(decltype(decltype)) prints exponential number of repeated errors Date: Thu, 24 Jun 2021 22:14:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: llvm at rifkin dot dev X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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: Thu, 24 Jun 2021 22:14:30 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D92105 Jeremy R. changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |llvm at rifkin dot dev --- Comment #6 from Jeremy R. --- Hey Jonathan, this is one of the most exciting bugs I've seen in gcc. This = is a little off-topic and I know the post is years old but: Some folks and I have been doing a golf challenge to create the shortest program which emits >1000 lines of error messages on gcc (version 8 or grea= ter, -fmessage-length not allowed). The previous best was a recursive template: templateF(){F}k(){F<1>}, 43 characters, but this bug al= lows us to beat that with just: #define d decltype d(d(d(d(d))))=