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]

help in deciphering a call RTL instruction


Hi list,

I have a need to understand some call RTL instructions,
but I have difficulties to understand some of them.

Here are two examples of the challenging RTL instructions:

(call (mem:QI (symbol_ref:SI (\"stpcpy\") [flags 0x41] <function_decl 0x401f000
0 __builtin_stpcpy>) [0 S1 A8])
        (const_int 8 [0x8]))

Q: does this instruction call the function stpcpy or __builtin_stpcpy ?

 (call (mem:QI (symbol_ref:SI (\"check_match.7758\") [flags 0x3] <function_decl
0x404a3e80 check_match>) [0 S1 A8])
        (const_int 0 [0x0]))

Q: does this instruction call the function check_match.7758 or check_match ?


In general, why do we have somtimes calls like that which (seemingly) have
different callee targets ?

Thank You!
sunzir


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