Understanding -fdump-tree output gcc with GraphViz
问题 I've created a tree dump how described here: How can I dump an abstract syntax tree generated by gcc into a .dot file? for this dummy script: int fact(int n) { if (n<=1) { return 1; } return n * fact(n-1); } int main(void) { int a = 4; int res = fact(a); return res; } And the image what I've got: As I know gcc is not the best way to learn AST representation. But anyway it would be nice to understand what image's content means. Especially what % sign here means and a FREQ:0 statement? 回答1: The