public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11560] New: [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files
@ 2003-07-17 13:12 kelleycook at wideopenwest dot com
  2003-07-17 13:41 ` [Bug c/11560] " pinskia at physics dot uc dot edu
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: kelleycook at wideopenwest dot com @ 2003-07-17 13:12 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: [3.4 regression] -fprofile-arcs no longer creates
                    {.da,.gcda} files
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kelleycook at wideopenwest dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin

As shown in testsuite runs,

-fprofile-arcs no longer creates the *.da (though based on the testsuite, I'm
assuming that these were recently renamed to *.gcra) which are used for
-fbranch-probabilities.

This feature works fine under cygwin in 3.3.

In addition, a profiledbootstrap now fails for the exact same reason, this was
working until recently.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/11560] [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files
  2003-07-17 13:12 [Bug c/11560] New: [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files kelleycook at wideopenwest dot com
@ 2003-07-17 13:41 ` pinskia at physics dot uc dot edu
  2003-07-29  3:23 ` pinskia at physics dot uc dot edu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-17 13:41 UTC (permalink / raw)
  To: gcc-bugs

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
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-17 13:41:10
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-17 13:41 -------
I can confirm this on i686-unknown-openbsd3.1 and it is caused by Keating's intermoduler 
complication because if I revert just that the tests in the testcases (for -fprofile-arcs) passes.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/11560] [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files
  2003-07-17 13:12 [Bug c/11560] New: [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files kelleycook at wideopenwest dot com
  2003-07-17 13:41 ` [Bug c/11560] " pinskia at physics dot uc dot edu
@ 2003-07-29  3:23 ` pinskia at physics dot uc dot edu
  2003-07-29  4:16 ` pinskia at physics dot uc dot edu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29  3:23 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/11560] [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files
  2003-07-17 13:12 [Bug c/11560] New: [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files kelleycook at wideopenwest dot com
  2003-07-17 13:41 ` [Bug c/11560] " pinskia at physics dot uc dot edu
  2003-07-29  3:23 ` pinskia at physics dot uc dot edu
@ 2003-07-29  4:16 ` pinskia at physics dot uc dot edu
  2003-07-29 17:18 ` kcook at gcc dot gnu dot org
  2003-07-29 17:23 ` pinskia at physics dot uc dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29  4:16 UTC (permalink / raw)
  To: gcc-bugs

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
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-29 04:16 -------
Can you try again now this patch went in?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/11560] [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files
  2003-07-17 13:12 [Bug c/11560] New: [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files kelleycook at wideopenwest dot com
                   ` (2 preceding siblings ...)
  2003-07-29  4:16 ` pinskia at physics dot uc dot edu
@ 2003-07-29 17:18 ` kcook at gcc dot gnu dot org
  2003-07-29 17:23 ` pinskia at physics dot uc dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: kcook at gcc dot gnu dot org @ 2003-07-29 17:18 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From kcook at gcc dot gnu dot org  2003-07-29 17:18 -------
Since I don't have CVS access at this site, I manually applied this patch to the
July 23rd Mainline snapshot on pentium4-pc-cygwin.  

.gcda files are now created with -fprofile-arcs.

It corrects all of the bprob-* and gcov-* testcases which were previously failing. 

It also allows make profiledbootstrap to procede much farther than before.

Therefore, I think this particular bug can be closed.

However, make profiledbootstraps still fails thought for a new reason, I'll try
to do some diagnosing and open a new bug with some details.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/11560] [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files
  2003-07-17 13:12 [Bug c/11560] New: [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files kelleycook at wideopenwest dot com
                   ` (3 preceding siblings ...)
  2003-07-29 17:18 ` kcook at gcc dot gnu dot org
@ 2003-07-29 17:23 ` pinskia at physics dot uc dot edu
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 17:23 UTC (permalink / raw)
  To: gcc-bugs

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
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-29 17:23 -------
Thanks for the feedback. Closing as suggested.
Also sometimes using --disable-werror will fix profiledbootstrap.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-07-29 17:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-17 13:12 [Bug c/11560] New: [3.4 regression] -fprofile-arcs no longer creates {.da,.gcda} files kelleycook at wideopenwest dot com
2003-07-17 13:41 ` [Bug c/11560] " pinskia at physics dot uc dot edu
2003-07-29  3:23 ` pinskia at physics dot uc dot edu
2003-07-29  4:16 ` pinskia at physics dot uc dot edu
2003-07-29 17:18 ` kcook at gcc dot gnu dot org
2003-07-29 17:23 ` pinskia at physics dot uc dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).