From: David Malcolm Date: Fri, 14 Aug 2020 14:48:48 +0000 (-0400) Subject: analyzer: document how to get gimple dump from an ICE X-Git-Tag: basepoints/gcc-12~5551 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e625038623df83b341a509ecd9c6a85f7837ecf;p=thirdparty%2Fgcc.git analyzer: document how to get gimple dump from an ICE gcc/ChangeLog: * doc/analyzer.texi (Overview): Add tip about how to get a gimple dump if the analyzer ICEs. --- diff --git a/gcc/doc/analyzer.texi b/gcc/doc/analyzer.texi index b5d6d0f393e5..92c12e19401e 100644 --- a/gcc/doc/analyzer.texi +++ b/gcc/doc/analyzer.texi @@ -29,6 +29,11 @@ The implementation is read-only: it doesn't attempt to change anything, just emit warnings. The gimple representation can be seen using @option{-fdump-ipa-analyzer}. +@quotation Tip +If the analyzer ICEs before this is written out, one workaround is to use +@option{--param=analyzer-bb-explosion-factor=0} to force the analyzer +to bail out after analyzing the first basic block. +@end quotation First, we build a @code{supergraph} which combines the callgraph and all of the CFGs into a single directed graph, with both interprocedural and