statistics.cc: Add check to see if fn is not NULL in get_function_name.
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Thu, 7 Jul 2022 16:33:35 +0000 (22:03 +0530)
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
Thu, 7 Jul 2022 16:35:09 +0000 (22:05 +0530)
commit9de8fbe1507d8c6e7c9657657a3c05337b8fde23
tree591f848f82d6d517914ab50d3ff781d559029829
parent81bec060e31b6ef2feeb3046c6f13a207c6f698a
statistics.cc: Add check to see if fn is not NULL in get_function_name.

gcc/ChangeLog:

* statistics.cc (get_function_name): Add check to see if fn is not NULL.
gcc/statistics.cc