From eee6f30f94c3185776ce135b732f98b5eb08ea57 Mon Sep 17 00:00:00 2001 From: xnpster Date: Thu, 19 Feb 2026 00:03:13 +0300 Subject: [PATCH] PRIVATE_ANALYSIS_IR: handle unreachable loops --- src/CFGraph/private_variables_analysis.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/CFGraph/private_variables_analysis.cpp b/src/CFGraph/private_variables_analysis.cpp index ef9fee6..6e8064f 100644 --- a/src/CFGraph/private_variables_analysis.cpp +++ b/src/CFGraph/private_variables_analysis.cpp @@ -321,6 +321,12 @@ static set analyzeLoop(LoopGraph* loop, const setfilename(), loop_operator->lineNumber()); + return currentLoop; + } + if (!head_block) printInternalError(convertFileName(__FILE__).c_str(), __LINE__); -- 2.49.1