Hello, I am trying to figure out the rough size of a function in a C file using gcc developer options. when using -fdump-ipa-fnsummary, it gives out the body size of a function. it seems like the lines of code for a function after intermediate compiling. Is my understanding correct? To summarize, my question is 1. What is the function body size? what does the self/global size measure mean? Will the measure change on different compiling options or different compiler? 2. Are there any other compiler options that can give measures approximate to the original source line of code of a function? Eg. *Analyzing function body size: main/12* *IPA function summary for main/12 inlinable* * global time: 90.545455* * self size: 23* * global size: 0* * min size: 0* * self stack: 4* * global stack: 4* * size:9.000000, time:53.545455* * size:3.000000, time:2.000000, executed if:(not inlined)* * calls:* * printf/13 function body not available* * freq:0.66 loop depth: 0 size: 3 time: 12* * op0 is compile time invariant* * printf/13 function body not available* * freq:0.34 loop depth: 0 size: 3 time: 12* * op0 is compile time invariant* * scanf/14 function body not available* * freq:1.00 loop depth: 0 size: 3 time: 12* * op0 is compile time invariant* * op1 is compile time invariant* * op1 points to local or readonly memory* * printf/13 function body not available* * freq:1.00 loop depth: 0 size: 2 time: 11* * op0 is compile time invariant* Really appreciated! -- Regards Mei