This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on 2003-10-06T06:15:01Z.
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: gcc-patches at gcc dot gnu dot org, gcc-regression at gcc dot gnu dot org
- Cc: apinski at apple dot com, Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Sun, 5 Oct 2003 23:37:01 -0700
- Subject: Re: GCC build failed for native with your patch on 2003-10-06T06:15:01Z.
- References: <200310060630.h966UwGu023614@gcc-regress.apple.com>
Lets try this again (one more off by one error):
Index: config/darwin.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/darwin.c,v
retrieving revision 1.48
diff -u -p -r1.48 darwin.c
--- config/darwin.c 6 Oct 2003 06:11:14 -0000 1.48
+++ config/darwin.c 6 Oct 2003 06:35:10 -0000
@@ -391,12 +391,12 @@ machopic_stub_name (const char *name)
if (needs_quotes)
{
- memcpy (buffer + bufferlen +1, "$stub\"", strlen("$stub\""));
+ memcpy (buffer + bufferlen +1, "$stub\"", strlen("$stub\"")+1);
bufferlen += strlen("$stub\"");
}
else
{
- memcpy (buffer + bufferlen +1, "$stub", strlen("$stub"));
+ memcpy (buffer + bufferlen +1, "$stub", strlen("$stub")+1);
bufferlen += strlen("$stub");
}
ptr_name = get_identifier (buffer);
Thanks,
Andrew Pinski
On Oct 5, 2003, at 23:30, GCC regression checker wrote:
With your recent patch, GCC does not compile on:
native
Attached is build output for those targets.
The last time the regression tests were run, GCC did not compile
either,
so the problem might not be caused by your patch.
For more information, see http://gcc.gnu.org/regtest/.
<ChangeLog.diff><native-log.txt>--
Geoffrey Keating <geoffk@apple.com>
(via an automated GCC regression-testing script.)