https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96894
David Malcolm <dmalcolm at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |99390 --- Comment #4 from David Malcolm <dmalcolm at gcc dot gnu.org> --- The warnings from -Wanalyzer-too-complex show some deeply nested callstrings e.g.: ./xgcc -B. -S -fanalyzer ../../src/pr96894.c -Wanalyzer-too-complex --param analyzer-bb-explosion-factor=50 ../../src/pr96894.c: In function ‘fibheap_consolidate’: ../../src/pr96894.c:3011:23: warning: terminating analysis for this program point: callstring: [(SN: 89 -> SN: 97 in fibheap_delete), (SN: 59 -> SN: 86 in fibheap_extr_min_node)] before (SN: 56 stmt: 0): i_34 = i_16 + 1;EN: 2004, EN: 2014, EN: 2143, EN: 2157, EN: 2275, EN: 2363, EN: 2424, EN: 2697 [-Wanalyzer-too-complex] 3011 | for (i = 0; i < D; i++) | ~^~ ../../src/pr96894.c:3011:23: warning: terminating analysis for this program point: callstring: [(SN: 89 -> SN: 97 in fibheap_delete), (SN: 59 -> SN: 86 in fibheap_extr_min_node)] before (SN: 56 stmt: 0): i_34 = i_16 + 1;EN: 2004, EN: 2014, EN: 2143, EN: 2157, EN: 2275, EN: 2363, EN: 2424, EN: 2697 [-Wanalyzer-too-complex] ../../src/pr96894.c:3011:23: warning: terminating analysis for this program point: callstring: [(SN: 144 -> SN: 106 in fibheap_delete_node), (SN: 89 -> SN: 141 in fibheap_extract_min), (SN: 59 -> SN: 86 in fibheap_extr_min_node)] before (SN: 56 stmt: 0): i_34 = i_16 + 1;EN: 4777, EN: 4787, EN: 4916, EN: 4930, EN: 5048, EN: 5136, EN: 5197, EN: 6058 [-Wanalyzer-too-complex] ../../src/pr96894.c:3011:23: warning: terminating analysis for this program point: callstring: [(SN: 144 -> SN: 106 in fibheap_delete_node), (SN: 89 -> SN: 141 in fibheap_extract_min), (SN: 59 -> SN: 86 in fibheap_extr_min_node)] before (SN: 56 stmt: 0): i_34 = i_16 + 1;EN: 4777, EN: 4787, EN: 4916, EN: 4930, EN: 5048, EN: 5136, EN: 5197, EN: 6058 [-Wanalyzer-too-complex] so this is likely an issue with call summarization failing. Adding to call summaries tracker. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99390 [Bug 99390] [meta-bug] tracker bug for call summaries in -fanalyzer