How to judge the gimple stmt is function?

wang tom via gcc-help gcc-help@gcc.gnu.org
Sat Feb 23 09:49:00 GMT 2019


Hello,
as the title, is there a way can return gimple stmt is a function or not,for example:int a( ){  printf("this is fn a");}int main( ){  a();  return 0;}In the main function line:1, it calls the function a. And when this code turns into gimple stmt, it will be "a();" as the same.So when I read the gimple stmt, how can I determine the stmt "a();" is a function?
Thank you. 


More information about the Gcc-help mailing list