David E. O'Brien
3a77dcde47
The brokenness in ix86_expand_clrstr is quite visible when you
...
compare the function with ix86_expand_movstr.
Submitted by: Tor Egge
2002-06-04 18:06:12 +00:00
David E. O'Brien
ec9ec8af6a
Gcc 3.1 (-O) now generates broken inline code for memset in some cases.
...
This broke newfs (newfs left some garbage in a bitmap).
The ASM for:
#include <string.h>
int x, foo[100];
main()
{
memset(&foo[0], 0, x);
}
is (at least if you have fixed function alignment):
.file "z.c"
.text
.p2align 2,,3
.globl main
.type main,@function
main:
pushl %ebp
movl %esp, %ebp
pushl %edi
pushl %eax
movl x, %ecx
xorl %eax, %eax
shrl $2, %ecx
movl $foo, %edi
cld
rep
stosl
andl $-16, %esp
<-- the lower bits of `len' should be loaded
near here
testl $2, %edi <-- this seems to be meant to test the 2^1
bit in `len' (not alignment of the pointer
like it actually does). %edi is the wrong
register for holding the bits, since it is
still needed for the pointer.
je .L2
stosw
.L2:
testl $1, %edi <-- similarly for the 2^0 bit.
je .L3
stosb
.L3:
movl -4(%ebp), %edi
leave
ret
.Lfe1:
.size main,.Lfe1-main
.comm foo,400,32
.comm x,4,4
.ident "GCC: (GNU) 3.1 [FreeBSD] 20020509 (prerelease)"
This seems to only result in (len % 3) bytes not being cleared, since gcc
doesn't seem to use the builtin memset unless it knows that the pointer is
aligned. If %edi could be misaligned, then too many bytes would be set.
Submitted by: BDE
2002-06-04 18:04:27 +00:00
Maxim Sobolev
b513ac40e2
Move patches into the src/contrib/tar.
...
Requested by: ps
Reviewed by: md5(1)
2002-06-04 17:31:16 +00:00
Maxim Sobolev
0f4e165dc0
Add importing/upgrading instructions.
2002-06-04 11:08:12 +00:00
Maxim Sobolev
2eb8d11ba7
Add razor used for shaving out GNU Tar.
2002-06-04 10:40:50 +00:00
Maxim Sobolev
011b358aba
Virgin import (trimmed) of GNU Tar version 1.13.25.
2002-06-04 10:37:47 +00:00
David E. O'Brien
e07ec61d37
Seems we are not ready for revision 1.8.
2002-05-30 06:04:14 +00:00
David E. O'Brien
69eafeae74
Make our default predefines ANSI clean.
2002-05-30 00:58:35 +00:00
David E. O'Brien
49b7e6d25a
This commit was generated by cvs2svn to compensate for changes in r97403,
...
which included commits to RCS files with non-trunk default branches.
2002-05-28 16:16:03 +00:00
David E. O'Brien
00db7afddd
Gcc 3.1.0 pre-release's C++ support bits from the FSF anoncvs repo
...
on 9-May-2002 15:57:15 EDT.
2002-05-28 16:16:03 +00:00
Juli Mallett
2061e87111
Don't risk catching a signal while handling a signal for a dying child, as we
...
can then end up not properly clearing wtmp/utmp entries.
PR: bin/37934
Submitted by: Sandeep Kumar <skumar@juniper.net>
Reviewed by: markm
MFC after: 2 weeks
2002-05-27 08:10:24 +00:00
David E. O'Brien
79a702e6f3
The special checks for %b and %D in rev 1.1 were done before skipping over
...
any characters between the % and the [bD], so only plain %b and %B worked.
This may un-1/2ass our -fformat-extensions support.
Submitted by: bde
2002-05-26 16:04:37 +00:00
Dag-Erling Smørgrav
acd268c093
This commit was generated by cvs2svn to compensate for changes in r97241,
...
which included commits to RCS files with non-trunk default branches.
2002-05-24 13:18:43 +00:00
Dag-Erling Smørgrav
55e3fbc9f1
Vendor import of OpenPAM Cinquefoil.
2002-05-24 13:18:43 +00:00
David E. O'Brien
dcbd867c36
1/2assed reimplementation of c-common.c revs 1.2 (-fformat-extensions)
...
and 1.3 (printf0) for GCC 3.1.
2002-05-22 16:37:09 +00:00
Jacques Vidrine
170a094006
Repair a bug where type AAAA answer records were not displayed.
...
Reference ISC BIND issue:
``1279. [bug] nslookup: partial coversion to similar style outputs
for both -type=aaaa and -type=a.''
Reported by: ume
2002-05-22 14:27:35 +00:00
Jacques Vidrine
9aee5e4673
Do not attempt to free static memory.
...
Reference ISC BIND issue:
``1278. [bug] free() of non-malloced memory in nslookup.''
Reported by: phkmalloc, Mike Tancsa <mike@sentex.net>
2002-05-22 14:24:44 +00:00
Peter Wemm
3e1a1dd23d
This commit was generated by cvs2svn to compensate for changes in r97055,
...
which included commits to RCS files with non-trunk default branches.
2002-05-21 06:52:47 +00:00
Peter Wemm
a17d2cb23c
Merge ncurses-5.2-20010512 -> ncurses-5.2-20020518 changes onto mainline.
2002-05-21 05:38:04 +00:00
Peter Wemm
7467abe828
This commit was generated by cvs2svn to compensate for changes in r97049,
...
which included commits to RCS files with non-trunk default branches.
2002-05-21 05:30:25 +00:00
Peter Wemm
39f2269fcb
Import ncurses-5.2-20020518 onto the vendor branch.
...
Obtained from: ftp://dickey.his.com/ncurses/
2002-05-21 05:30:25 +00:00
Andrey A. Chernov
c4aa5b8efe
Fix essential typo in usage
...
Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
2002-05-19 10:40:15 +00:00
cvs2svn
dd49f05638
This commit was manufactured by cvs2svn to create branch 'VENDOR-gcc'.
2002-05-17 19:47:49 +00:00
David E. O'Brien
424cbfd989
the processed hash file
2002-05-17 19:47:48 +00:00
Ruslan Ermilov
35abacef2a
MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
...
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.
Draft reviewed by: obrien
2002-05-16 15:22:58 +00:00
Mark Murray
e077a8bde9
Perl is no longer in base. Long live the port!
2002-05-16 10:09:28 +00:00
David E. O'Brien
4e3e26a2ed
Merge c-common.c rev 1.10 into GCC 3.1
...
Clarify that the "yields only last 2 digits of year in some locales" warning
does not apply to BSD.
Submitted by: ache
2002-05-14 01:53:53 +00:00
David E. O'Brien
8a75a69eaf
If you want to not warn on K&R main(); this is how it should be implemented.
2002-05-14 01:44:02 +00:00
David E. O'Brien
a353d6a0f1
Merge choose-temp.c rev 1.2 (use /tmp 1st, and then /var/tmp) into GCC 3.1.
2002-05-14 00:33:44 +00:00
David E. O'Brien
2e0c661e02
Add framework for our kernel printf enhancements.
2002-05-14 00:30:25 +00:00
Jacques Vidrine
02a3169302
Resolve conflicts after import of ISC BIND 8.3.2-T1B documentation.
2002-05-13 19:35:44 +00:00
Jacques Vidrine
733fb0d8d3
This commit was generated by cvs2svn to compensate for changes in r96539,
...
which included commits to RCS files with non-trunk default branches.
2002-05-13 19:33:58 +00:00
Jacques Vidrine
6e0927100d
Import of ISC BIND 8.3.2-T1B documentation.
2002-05-13 19:33:58 +00:00
Jacques Vidrine
8803a0eeb7
Resolve conflicts after import of ISC BIND 8.3.2-T1B.
2002-05-13 19:33:23 +00:00
Jacques Vidrine
c4dd49b64d
Import of ISC BIND 8.3.2-T1B.
2002-05-13 19:31:58 +00:00
Jacques Vidrine
0f9cfbb030
This commit was generated by cvs2svn to compensate for changes in r96536,
...
which included commits to RCS files with non-trunk default branches.
2002-05-13 19:31:58 +00:00
David E. O'Brien
f4603a02f9
Remove files not part of GCC 3.1.
2002-05-12 21:50:48 +00:00
David E. O'Brien
f0ab1657e0
do-while ASM_OUTPUT_ALIGN to enable its use in more places.
2002-05-12 17:31:12 +00:00
David E. O'Brien
79c021244b
Fixes for building a.out bits.
...
Submitted by: bde
2002-05-12 12:01:12 +00:00
Giorgos Keramidas
96044fe8c3
CVS_RSH defaults to 'ssh' these days, and not 'rsh'.
...
PR: docs/37429
Submitted by: Martin v. Löwis <martin@v.loewis.de>
Reviewed by: peter
2002-05-12 02:12:04 +00:00
Alfred Perlstein
cc7b0935ec
unbreak build:
...
commands.c, sys_bsd.c: comment out/remove junk after #endif/#else
network.c, terminal.c, utlities.c: include stdlib.h for exit(3)
2002-05-11 03:19:44 +00:00
David E. O'Brien
8e4199296c
Localize the version number at the request of the GCC developers.
2002-05-11 00:25:50 +00:00
Dag-Erling Smørgrav
e55149b3dc
Add missing include (perforce change 11137)
2002-05-10 22:03:19 +00:00
Dag-Erling Smørgrav
c690a1aa91
This commit was generated by cvs2svn to compensate for changes in r96364,
...
which included commits to RCS files with non-trunk default branches.
2002-05-10 22:03:19 +00:00
David E. O'Brien
be42e63aec
Add tweaks needed when using as the system compiler.
2002-05-10 19:05:07 +00:00
David E. O'Brien
3b2b7c3e7a
Change symbol values to match freebsd.h to avoid warnings.
2002-05-10 09:02:14 +00:00
David E. O'Brien
f35f6d5d45
Remove files not part of GCC 3.1.
2002-05-10 05:26:57 +00:00
David E. O'Brien
c16b9cb4c2
Import data for 3.0.2.
2002-05-10 05:21:15 +00:00
David E. O'Brien
641c89aab9
Gcc 3.1.0 pre-release's Objective C support bits from the FSF anoncvs repo
...
on 9-May-2002 15:57:15 EDT.
2002-05-09 22:50:04 +00:00
David E. O'Brien
eed3fdf51c
This commit was generated by cvs2svn to compensate for changes in r96297,
...
which included commits to RCS files with non-trunk default branches.
2002-05-09 22:50:04 +00:00