public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/92105] [8/9/10 Regression] decltype(decltype(decltype)) prints exponential number of repeated errors
[not found] <bug-92105-4@http.gcc.gnu.org/bugzilla/>
@ 2021-06-24 22:14 ` llvm at rifkin dot dev
2021-06-25 16:55 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: llvm at rifkin dot dev @ 2021-06-24 22:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92105
Jeremy R. <llvm at rifkin dot dev> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |llvm at rifkin dot dev
--- Comment #6 from Jeremy R. <llvm at rifkin dot dev> ---
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 greater,
-fmessage-length not allowed). The previous best was a recursive template:
template<int...T>F(){F<T...,T...>}k(){F<1>}, 43 characters, but this bug allows
us to beat that with just:
#define d decltype
d(d(d(d(d))))
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c++/92105] [8/9/10 Regression] decltype(decltype(decltype)) prints exponential number of repeated errors
[not found] <bug-92105-4@http.gcc.gnu.org/bugzilla/>
2021-06-24 22:14 ` [Bug c++/92105] [8/9/10 Regression] decltype(decltype(decltype)) prints exponential number of repeated errors llvm at rifkin dot dev
@ 2021-06-25 16:55 ` redi at gcc dot gnu.org
1 sibling, 0 replies; 2+ messages in thread
From: redi at gcc dot gnu.org @ 2021-06-25 16:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92105
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Glad we could help ;-)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-25 16:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-92105-4@http.gcc.gnu.org/bugzilla/>
2021-06-24 22:14 ` [Bug c++/92105] [8/9/10 Regression] decltype(decltype(decltype)) prints exponential number of repeated errors llvm at rifkin dot dev
2021-06-25 16:55 ` redi at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).