[Bug gcov-profile/38292] [4.3/4.4 Regression] corrupted profile info with -O[23] -fprofile-use

2009-02-12 Thread ubizjak at gmail dot com


-- 

ubizjak at gmail dot com changed:

   What|Removed |Added

Summary|[4.3/4.4] corrupted profile |[4.3/4.4 Regression]
   |info with -O[23] -fprofile- |corrupted profile info with
   |use |-O[23] -fprofile-use
   Target Milestone|--- |4.3.4


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292



[Bug gcov-profile/38292] [4.3/4.4 Regression] corrupted profile info with -O[23] -fprofile-use

2009-02-12 Thread rguenth at gcc dot gnu dot org


--- Comment #3 from rguenth at gcc dot gnu dot org  2009-02-12 13:59 ---
Can you check if moving the PR38977 fix to special_function_p (handling
plain fork there) fixes it?  What is the contents of thread.c?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292



[Bug gcov-profile/38292] [4.3/4.4 Regression] corrupted profile info with -O[23] -fprofile-use

2009-02-12 Thread doko at ubuntu dot com


--- Comment #4 from doko at ubuntu dot com  2009-02-12 14:06 ---
Created an attachment (id=17286)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17286&action=view)
thread.c source file


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292



[Bug gcov-profile/38292] [4.3/4.4 Regression] corrupted profile info with -O[23] -fprofile-use

2009-02-12 Thread doko at ubuntu dot com


--- Comment #5 from doko at ubuntu dot com  2009-02-12 14:09 ---
Created an attachment (id=17287)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17287&action=view)
thread_pthread.h header


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292



[Bug gcov-profile/38292] [4.3/4.4 Regression] corrupted profile info with -O[23] -fprofile-use

2009-02-12 Thread doko at ubuntu dot com


--- Comment #6 from doko at ubuntu dot com  2009-02-12 15:40 ---
a build with the suggested change doesn't show any change.

--- gcc/calls.c~2009-02-05 09:30:24.0 +0100
+++ gcc/calls.c 2009-02-12 15:17:08.0 +0100
@@ -530,6 +530,8 @@
}
   else if ((tname[0] == 'q' && tname[1] == 's'
&& ! strcmp (tname, "qsetjmp"))
+  || (tname[0] == 'f' && tname[1] == 'o'
+  && ! strcmp (tname, "fork"))
   || (tname[0] == 'v' && tname[1] == 'f'
   && ! strcmp (tname, "vfork"))
   || (tname[0] == 'g' && tname[1] == 'e'


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292



[Bug gcov-profile/38292] [4.3/4.4 Regression] corrupted profile info with -O[23] -fprofile-use

2009-02-12 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P3  |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292



[Bug gcov-profile/38292] [4.3/4.4 Regression] corrupted profile info with -O[23] -fprofile-use

2009-02-14 Thread doko at ubuntu dot com


--- Comment #7 from doko at ubuntu dot com  2009-02-14 09:08 ---
seen as well on sparc-linux, x86_64-linux and i486-linux (when built with
-mcpu=i686 -mtune=i586), although triggered in different files.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38292