merge from gcc

This commit is contained in:
DJ Delorie
2003-10-23 00:01:06 +00:00
parent 5ec9ea21a3
commit a3f95116e3
2 changed files with 41 additions and 14 deletions

View File

@@ -1,3 +1,18 @@
2003-10-22 Joseph S. Myers <jsm@polyomino.org.uk>
* obstack.h: Merge the following change from gnulib:
2003-10-21 Paul Eggert <eggert@twinsun.com>
* obstack.h (obstack_1grow_fast): Properly parenthesize arg.
(obstack_ptr_grow_fast, obstack_int_grow_fast):
Don't use lvalue casts, as GCC plans to remove support for them
in GCC 3.5. Reported by Joseph S. Myers. This bug
was also present in the non-GCC version, indicating that this
code had always been buggy and had never been widely used.
(obstack_1grow, obstack_ptr_grow, obstack_int_grow, obstack_blank):
Use the fast variant of each macro, rather than copying the
definiens of the fast variant; that way, we'll be more likely to
catch future bugs in the fast variants.
2003-10-22 Jakub Jelinek <jakub@redhat.com>
* bfdlink.h (struct bfd_elf_version_expr): Remove match field.