DJ Delorie
46dd523316
merge from gcc
13 years ago
DJ Delorie
53f94b92ee
merge from gcc
13 years ago
DJ Delorie
eabdca0f8d
merge from gcc
13 years ago
DJ Delorie
21290977cb
merge from gcc
13 years ago
DJ Delorie
632a40b341
merge from gcc
13 years ago
DJ Delorie
44b6b9d4f9
merge from gcc
13 years ago
Tristan Gingold
bc771b3b8d
2013-07-09 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Add dwarfnames.obj
13 years ago
DJ Delorie
a4818a052e
merge from gcc
13 years ago
DJ Delorie
3ecb733811
merge from gcc
13 years ago
DJ Delorie
29f045bb48
merge from gcc
13 years ago
DJ Delorie
dcd7e9d6a5
merge from gcc
13 years ago
DJ Delorie
3a4d23392f
merge from gcc
13 years ago
DJ Delorie
3afd2652d4
merge from gcc
13 years ago
DJ Delorie
eea302037a
merge from gcc
13 years ago
Eli Zaretskii
72edb7c28f
Fix compilation warning by MinGW GCC.
setenv.c [!HAVE_ENVIRON_DECL]: Avoid declaring environ if it is
a macro, as this causes compiler warnings with MinGW.
13 years ago
DJ Delorie
2fd2526edd
merge from gcc
13 years ago
DJ Delorie
a9c3ecea79
merge from gcc
13 years ago
DJ Delorie
389d9b6c50
merge from gcc
13 years ago
DJ Delorie
0f5f799a26
merge from gcc
13 years ago
Kai Tietz
fe4b0b4632
PR other/543413
* md5.c (md5_process_block): Handle case that size_t is
a wider-integer-scalar a 32-bit unsigned integer.
13 years ago
DJ Delorie
07a8e9f036
merge from gcc
13 years ago
DJ Delorie
1f3de044c6
merge from gcc
14 years ago
DJ Delorie
995b61fe5b
merge from gcc
14 years ago
H.J. Lu
b9b64803f6
Replace malloc with xmalloc
* argv.c (dupargv): Replace malloc with xmalloc. Don't check
xmalloc return.
(buildargv): Likewise. Also replace strdup with xstrdup.
(expandargv): Don't check dupargv return.
14 years ago
H.J. Lu
bf8247ff45
Replace alloca with xmalloc/free
PR binutils/14526
* argv.c (buildargv): Replace alloca with xmalloc/free.
14 years ago
Andreas Schwab
e372c21ce5
* floatformat.c (floatformat_to_double): Correctly handle numbers
between 1 and 2. Simplify handling of denormal number.
(main): Test with 1.1.
14 years ago
Mike Frysinger
902e433550
libiberty/md5: fix strict alias warnings
Current libiberty md5 code triggers these warnings with gcc-4.7.1 for me:
libiberty/md5.c: In function âmd5_finish_ctxâ:
libiberty/md5.c:117:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
libiberty/md5.c:118:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
The change below fixes things for me. The optimized output (-O2) is the same
before/after my change on x86_64-linux. I imagine it'll be the same for most
targets. It seems simpler than using a union on the md5_ctx buffer since these
are the only two locations in the code where this occurs.
14 years ago
DJ Delorie
9974286ed1
merge from gcc
14 years ago
DJ Delorie
7c32896367
merge from gcc
14 years ago
Doug Evans
0429544a87
include/
* filenames.h: #include "hashtab.h".
(filename_hash, filename_eq): Declare.
libiberty/
* filename_cmp.c (filename_hash, filename_eq): New functions.
14 years ago
DJ Delorie
5afcec7379
merge from gcc
14 years ago
DJ Delorie
67bf71fede
merge from gcc
14 years ago
DJ Delorie
fa66ec5377
merge from gcc
14 years ago
DJ Delorie
b3641a6eb9
merge from gcc
14 years ago
DJ Delorie
24e829d007
merge from gcc
14 years ago
DJ Delorie
4e3aa40890
merge from gcc
14 years ago
Jakub Jelinek
1712e1d4f7
* make-relative-prefix.c (make_relative_prefix_1): Avoid warning
about using preprocessor directives inside of macro arguments.
14 years ago
DJ Delorie
d12c31dfa7
merge from gcc
14 years ago
DJ Delorie
fbfd63c0a6
merge from gcc
14 years ago
DJ Delorie
eb7b5ddb8b
merge from gcc
14 years ago
DJ Delorie
dd28faae1a
merge from gcc
14 years ago
DJ Delorie
3fee530e50
merge from gcc
15 years ago
Andreas Schwab
604fcd6577
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
expr call.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.
15 years ago
Andreas Schwab
a53e62cf56
Check for warning flags without no- prefix
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
(ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Run the test without the
no- prefix.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.
15 years ago
DJ Delorie
956a8f8beb
merge from gcc
15 years ago
DJ Delorie
abc6552b26
merge from gcc
15 years ago
DJ Delorie
cf185ad7a9
merge from gcc
15 years ago
DJ Delorie
eb2722c12c
merge from gcc
15 years ago
DJ Delorie
85d7ed08a8
merge from gcc
15 years ago
DJ Delorie
f9fb0b2d9f
merge from gcc
15 years ago