This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

indirect call in RTL dump files


http://gcc.fyxm.net/summit/2004/GCC%20Call%20Graph.pdf

For the RTL representation, there are two type of function call instructions as I understand.
1) direct call---this type of calls are shown with something like
(call (mem:QI (symbol_ref:SI ("bar") [flags 0x3] <function_decl 0xb72bf8dc bar>) [0 S1 A8])
And the corresponding source code is something like "bar();" in C.


2) indirect call (explained in 3.1 in the above paper)
Can someone help me explain this a bit? --what the corresponding code is in C, and what causes it to happen? What does the RTL code look like?


Thanks,

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]