[Bug c/11560] [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files
pinskia at physics dot uc dot edu
gcc-bugzilla@gcc.gnu.org
Tue Jul 29 03:23:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11560
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |geoffk at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Keywords| |wrong-code
Priority|P2 |P1
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-29 03:23 -------
Assigning to Geoff Keating who's patch:
*** c-decl.c.~1.421.~ Mon Jul 28 11:12:29 2003
--- c-decl.c Mon Jul 28 17:49:58 2003
***************
*** 6346,6352 ****
to run global initializers, etc. */
if (DECL_NAME (fndecl)
&& MAIN_NAME_P (DECL_NAME (fndecl))
! && DECL_CONTEXT (fndecl) == NULL_TREE)
expand_main_function ();
/* Generate the RTL for this function. */
--- 6346,6352 ----
to run global initializers, etc. */
if (DECL_NAME (fndecl)
&& MAIN_NAME_P (DECL_NAME (fndecl))
! && C_DECL_FILE_SCOPE (fndecl))
expand_main_function ();
/* Generate the RTL for this function. */
Fixes it on i686-openbsd3.1 at least, most likely fixes it in cygwin also.
More information about the Gcc-bugs
mailing list