OSDN Git Service

PR fortran/32380
[pf3gnuchains/gcc-fork.git] / libgcc / libgcov.c
index 810175a..d75ae69 100644 (file)
@@ -686,7 +686,7 @@ gcov_exit (void)
 void
 __gcov_init (struct gcov_info *info)
 {
-  if (!info->version)
+  if (!info->version || !info->n_functions)
     return;
   if (gcov_version (info, info->version, 0))
     {