https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113157
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- That is this works: [apinski@xeond2 pr113157]$ gcc --coverage -o test 1.c 2.c -O3 [apinski@xeond2 pr113157]$ ./test [apinski@xeond2 pr113157]$ gcc -O3 -fprofile-use -o test 1.c 2.c