* MAINTAINERS: Add a note that maintainership also includes web
[official-gcc.git] / gcc / testsuite / g++.dg / torture / pr53321.C
blob4dd5af8443d8ea3a23a10d60601175699bd91fb4
1 // { dg-do compile }
2 // { dg-require-profiling "-fprofile-generate" }
3 // { dg-options "-fprofile-generate" }
5 typedef __SIZE_TYPE__ size_t;
7 extern "C"
9   extern void *memcpy (void *__dest, __const void *__src, size_t __n);
12 extern char *src, *sources;
13 extern int n_sources;
15 static void
16 find_source (const char *file_name)
18   memcpy (src, sources, n_sources * sizeof (*sources));
21 extern const char *gcov_read_string (void);
23 static void read_graph_file (void)
25   find_source (gcov_read_string ());
28 static void process_file (void)
30   read_graph_file ();
33 int main ()
35   process_file ();