This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/14291] [3.4/3.5 Regression] -fprofile-arcs fails (unresolved symbol)
- From: "dannysmith at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2004 22:12:01 -0000
- Subject: [Bug target/14291] [3.4/3.5 Regression] -fprofile-arcs fails (unresolved symbol)
- References: <20040225150311.14291.xtrochu@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From dannysmith at gcc dot gnu dot org 2004-03-21 22:11 -------
Mark, just to be clear, are asking that the following patch be applied to
gcc-3.4.0 branch _only_?
Danny
Index: gcov-io.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/gcov-io.h,v
retrieving revision 1.47
diff -c -3 -p -r1.47 gcov-io.h
*** gcov-io.h 10 Oct 2003 17:04:45 -0000 1.47
--- gcov-io.h 21 Mar 2004 22:02:24 -0000
*************** gcov_rewrite (void)
*** 584,589 ****
--- 584,592 ----
fseek (gcov_var.file, 0L, SEEK_SET);
}
+ #ifdef __MINGW32__
+ #define ftruncate _chsize
+ #endif
static inline void
gcov_truncate (void)
{
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mmitchel at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14291