This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

.gcno files no longer generated by -fprofile-generate since GCC 4.4


It seems that .gcno files are no longer generated by
-fprofile-generate since GCC 4.4:

fraise% cat tst.c
int main (void)
{
  return 0;
}
fraise% ls -l tst*
-rw-r--r-- 1 vlefevre users 32 2014-10-10 10:26:36 tst.c
fraise% gcc-4.3 tst.c -o tst -fprofile-generate
fraise% ls -l tst*
-rwxr-xr-x 1 vlefevre users 17612 2014-10-10 10:36:16 tst
-rw-r--r-- 1 vlefevre users    32 2014-10-10 10:26:36 tst.c
-rw-r--r-- 1 vlefevre users   160 2014-10-10 10:36:16 tst.gcno
fraise% rm tst.gcno
fraise% gcc-4.4 tst.c -o tst -fprofile-generate
fraise% ls -l tst*
-rwxr-xr-x 1 vlefevre users 17428 2014-10-10 10:36:27 tst
-rw-r--r-- 1 vlefevre users    32 2014-10-10 10:26:36 tst.c
fraise%

Is this change documented? I couldn't find anything related on:

  http://www.gnu.org/software/gcc/gcc-4.4/changes.html

I'm just wondering...

I found that because it made an old script of mine fail when
cleaning up temporary files (problem solved by replacing "rm"
by "rm -f").

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]