aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2020-08-14 10:48:48 -0400
committerDavid Malcolm <dmalcolm@redhat.com>2020-08-14 16:55:39 -0400
commit7e625038623df83b341a509ecd9c6a85f7837ecf (patch)
tree6febb2aa71864002880123ee38fa04df17724fb2 /gcc/doc
parentdb1c2a89db09c8fe140ed3e65a707a08737e3b41 (diff)
downloadgcc-7e625038623df83b341a509ecd9c6a85f7837ecf.zip
gcc-7e625038623df83b341a509ecd9c6a85f7837ecf.tar.gz
gcc-7e625038623df83b341a509ecd9c6a85f7837ecf.tar.bz2
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.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/analyzer.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/doc/analyzer.texi b/gcc/doc/analyzer.texi
index b5d6d0f..92c12e1 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