public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Google] Fix profiledbootstrap failure
@ 2013-07-30 18:51 Dinar Temirbulatov
  2013-07-30 19:02 ` Teresa Johnson
  0 siblings, 1 reply; 8+ messages in thread
From: Dinar Temirbulatov @ 2013-07-30 18:51 UTC (permalink / raw)
  To: GCC Patches

[-- Attachment #1: Type: text/plain, Size: 192 bytes --]

Hello

This change allows to complete profiledbootstrap on the google gcc-4.8
branch, tested with make bootstrap with no new regressions.  OK for
google 4.8?
                   thanks, Dinar.

[-- Attachment #2: profiledbootstrap-fix.patch --]
[-- Type: application/octet-stream, Size: 631 bytes --]

Index: gcc/coverage.c
===================================================================
--- gcc/coverage.c	(revision 201273)
+++ gcc/coverage.c	(working copy)
@@ -662,17 +662,7 @@
     max_group = (unsigned) -1;
 
   if (!gcov_open (da_file_name, 1))
-    {
-      if (PARAM_VALUE (PARAM_GCOV_DEBUG))
-        {
-          /* Try to find .gcda file in the current working dir.  */
-          da_file_name = lbasename (da_file_name);
-          if (!gcov_open (da_file_name, 1))
-            return;
-        }
-      else
-        return;
-    }
+    return;
 
   if (!gcov_magic (gcov_read_unsigned (), GCOV_DATA_MAGIC))
     {

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

end of thread, other threads:[~2013-07-31 17:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-30 18:51 [Google] Fix profiledbootstrap failure Dinar Temirbulatov
2013-07-30 19:02 ` Teresa Johnson
2013-07-30 19:13   ` Xinliang David Li
2013-07-30 19:50     ` Rong Xu
2013-07-30 20:01       ` Xinliang David Li
2013-07-30 20:18         ` Rong Xu
2013-07-31 17:09           ` Dinar Temirbulatov
2013-07-30 19:58     ` Dinar Temirbulatov

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).