Skip to content

Infinite recursion in Clang parser with deeply nested int(...) expression only in Trunk #141784

Open
@mariete1223

Description

@mariete1223

Although it seems like a not interesting case, it shows that clang is not handling recursion in a rigth manner, being possible to get there through a more human made program, like a mistake leading to nesting. Also, it has been found that it onl occurs in Trunk.

Stackdump

In bolt SIGSEV is shown, in local:

#0 0x000058439f67b752 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/clang-21/bin/clang-21+0x3bbd752)
  #1 0x000058439f678e3e SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
  #2 0x0000741c3c845330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
  #3 0x00005843a2d829c6 clang::Preprocessor::Lex(clang::Token&) (/opt/clang-21/bin/clang-21+0x72c49c6)
  #4 0x00005843a18b6f07 clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df8f07)
  #5 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
  #6 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
  #7 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
  #8 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
  #9 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #10 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #11 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #12 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #13 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #14 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #15 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #16 0x00005843a18b7ad4 clang::Parser::TryParseParameterDeclarationClause(bool*, bool, clang::ImplicitTypenameContext) (/opt/clang-21/bin/clang-21+0x5df9ad4)
 #17 0x00005843a18b6c01 clang::Parser::TryParseFunctionDeclarator(bool) (/opt/clang-21/bin/clang-21+0x5df8c01)
 #18 0x00005843a18b6f44 clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df8f44)
 #19 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #20 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #21 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #22 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #23 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #24 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #25 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #26 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #27 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #28 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #29 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #30 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #31 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #32 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #33 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #34 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #35 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #36 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #37 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #38 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #39 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #40 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #41 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #42 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #43 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #44 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #45 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #46 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #47 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #48 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #49 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #50 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #51 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #52 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #53 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #54 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #55 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #56 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #57 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #58 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #59 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #60 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #61 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #62 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #63 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #64 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #65 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #66 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #67 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #68 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #69 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #70 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #71 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #72 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #73 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #74 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #75 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #76 0x00005843a18b7ad4 clang::Parser::TryParseParameterDeclarationClause(bool*, bool, clang::ImplicitTypenameContext) (/opt/clang-21/bin/clang-21+0x5df9ad4)
 #77 0x00005843a18b6c01 clang::Parser::TryParseFunctionDeclarator(bool) (/opt/clang-21/bin/clang-21+0x5df8c01)
 #78 0x00005843a18b6f44 clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df8f44)
 #79 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #80 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #81 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #82 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #83 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #84 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #85 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #86 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #87 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #88 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #89 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #90 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #91 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #92 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #93 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #94 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #95 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #96 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #97 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #98 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
 #99 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#100 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#101 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#102 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#103 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#104 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#105 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#106 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#107 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#108 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#109 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#110 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#111 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#112 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#113 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#114 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#115 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#116 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#117 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#118 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#119 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#120 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#121 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#122 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#123 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#124 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#125 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#126 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#127 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#128 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#129 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#130 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#131 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#132 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#133 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#134 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#135 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#136 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#137 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#138 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#139 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#140 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#141 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#142 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#143 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#144 0x00005843a18b7ad4 clang::Parser::TryParseParameterDeclarationClause(bool*, bool, clang::ImplicitTypenameContext) (/opt/clang-21/bin/clang-21+0x5df9ad4)
#145 0x00005843a18b6c01 clang::Parser::TryParseFunctionDeclarator(bool) (/opt/clang-21/bin/clang-21+0x5df8c01)
#146 0x00005843a18b6f44 clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df8f44)
#147 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#148 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#149 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#150 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#151 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#152 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#153 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#154 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#155 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#156 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#157 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#158 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#159 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#160 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#161 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#162 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#163 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#164 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#165 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#166 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#167 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#168 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#169 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#170 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#171 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#172 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#173 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#174 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#175 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#176 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#177 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#178 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#179 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#180 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#181 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#182 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#183 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#184 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#185 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#186 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#187 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#188 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#189 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#190 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#191 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#192 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#193 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#194 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#195 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#196 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#197 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#198 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#199 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#200 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#201 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#202 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#203 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#204 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#205 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#206 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#207 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#208 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#209 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#210 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#211 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#212 0x00005843a18b7ad4 clang::Parser::TryParseParameterDeclarationClause(bool*, bool, clang::ImplicitTypenameContext) (/opt/clang-21/bin/clang-21+0x5df9ad4)
#213 0x00005843a18b6c01 clang::Parser::TryParseFunctionDeclarator(bool) (/opt/clang-21/bin/clang-21+0x5df8c01)
#214 0x00005843a18b6f44 clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df8f44)
#215 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#216 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#217 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#218 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#219 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#220 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#221 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#222 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#223 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#224 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#225 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#226 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#227 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#228 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#229 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#230 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#231 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#232 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#233 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#234 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#235 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#236 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#237 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#238 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#239 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#240 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#241 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#242 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#243 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#244 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#245 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#246 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#247 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#248 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#249 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#250 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#251 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#252 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#253 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#254 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)
#255 0x00005843a18b717c clang::Parser::TryParseDeclarator(bool, bool, bool, bool) (/opt/clang-21/bin/clang-21+0x5df917c)

Program

int i1 = int((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((

To quickly reproduce

https://godbolt.org/z/fcr5KE6j8

Fuzzer generated

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions