@ -1,3 +1,39 @@
2016-10-17 Nick Clifton <nickc@redhat.com>
* Sync with gcc.
2016-09-19 Andrew Stubbs <ams@codesourcery.com>
* pex-win32.c (argv_to_cmdline): Quote zero-length parameters.
* testsuite/test-pexecute.c (main): Insert check for zero-length parameters.
2016-09-10 Mark Wielaard <mjw@redhat.com>
* cp-demangle.c (d_substitution): Change struct demangle_component
variable name from c to dc.
2016-08-12 Marek Polacek <polacek@redhat.com>
PR c/7652
* cp-demangle.c (d_print_mod): Add FALLTHRU.
2016-08-04 Marcel Böhme <boehme.marcel@gmail.com>
PR c++/71696
* cplus-dem.c: Prevent infinite recursion when there is a cycle
in the referencing of remembered mangled types.
(work_stuff): New stack to keep track of the remembered mangled
types that are currently being processed.
(push_processed_type): New method to push currently processed
remembered type onto the stack.
(pop_processed_type): New method to pop currently processed
remembered type from the stack.
(work_stuff_copy_to_from): Copy values of new variables.
(delete_non_B_K_work_stuff): Free stack memory.
(demangle_args): Push/Pop currently processed remembered type.
(do_type): Do not demangle a cyclic reference and push/pop
referenced remembered type.
2016-07-29 Aldy Hernandez <aldyh@redhat.com>
2016-07-29 Aldy Hernandez <aldyh@redhat.com>
* make-relative-prefix.c (make_relative_prefix_1): Fall back to
* make-relative-prefix.c (make_relative_prefix_1): Fall back to
@ -16,7 +52,7 @@
(d_template_args_1): Split out from d_template_args.
(d_template_args_1): Split out from d_template_args.
(d_args_length): New.
(d_args_length): New.
2016-07-13 Marcel BÃ hme <boehme.marcel@gmail.com>
2016-07-13 Marcel Bö hme <boehme.marcel@gmail.com>
PR c++/70926
PR c++/70926
* cplus-dem.c: Handle large values and overflow when demangling
* cplus-dem.c: Handle large values and overflow when demangling
@ -143,8 +179,6 @@
PR other/61321
PR other/61321
PR other/61233
PR other/61233
* demangle.h (enum demangle_component_type)
<DEMANGLE_COMPONENT_CONVERSION>: New value.
* cp-demangle.c (d_demangle_callback, d_make_comp): Handle
* cp-demangle.c (d_demangle_callback, d_make_comp): Handle
DEMANGLE_COMPONENT_CONVERSION.
DEMANGLE_COMPONENT_CONVERSION.
(is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
(is_ctor_dtor_or_conversion): Handle DEMANGLE_COMPONENT_CONVERSION
@ -739,11 +773,11 @@
2013-05-31 Matt Burgess <matthew@linuxfromscratch.org>
2013-05-31 Matt Burgess <matthew@linuxfromscratch.org>
PR other/56780
PR other/56780
* libiberty/ configure.ac: Move test for --enable-install-libiberty
* configure.ac: Move test for --enable-install-libiberty
outside of the 'with_target_subdir' test so that it actually gets
outside of the 'with_target_subdir' test so that it actually gets
run. Add output messages to show the test result.
run. Add output messages to show the test result.
* libiberty/ configure: Regenerate.
* configure: Regenerate.
* libiberty/ Makefile.in (install_to_libdir): Place the
* Makefile.in (install_to_libdir): Place the
installation of the libiberty library in the same guard as that
installation of the libiberty library in the same guard as that
used for the headers to prevent it being installed unless
used for the headers to prevent it being installed unless
requested via --enable-install-libiberty.
requested via --enable-install-libiberty.
@ -1543,7 +1577,6 @@
Daniel Jacobowitz <dan@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
Pedro Alves <pedro@codesourcery.com>
Pedro Alves <pedro@codesourcery.com>
libiberty/
* argv.c (consume_whitespace): New function.
* argv.c (consume_whitespace): New function.
(only_whitespace): New function.
(only_whitespace): New function.
(buildargv): Always use ISSPACE by calling consume_whitespace.
(buildargv): Always use ISSPACE by calling consume_whitespace.
@ -1744,8 +1777,8 @@
2009-04-07 Arnaud Patard <apatard@mandriva.com>
2009-04-07 Arnaud Patard <apatard@mandriva.com>
* libiberty/ configure.ac: Fix Linux/MIPS matching rule.
* configure.ac: Fix Linux/MIPS matching rule.
* libiberty/ configure: Regenerate.
* configure: Regenerate.
2009-03-27 Ian Lance Taylor <iant@google.com>
2009-03-27 Ian Lance Taylor <iant@google.com>
@ -1908,8 +1941,8 @@
2008-04-21 Aurelien Jarno <aurelien@aurel32.net>
2008-04-21 Aurelien Jarno <aurelien@aurel32.net>
* libiberty/ configure.ac: use -fPIC on Linux/MIPS hosts.
* configure.ac: use -fPIC on Linux/MIPS hosts.
* libiberty/ configure: Regenerate.
* configure: Regenerate.
2008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
2008-04-18 Kris Van Hees <kris.van.hees@oracle.com>
@ -2115,7 +2148,7 @@
that are locale-independent.
that are locale-independent.
* Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
* Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
2007-04-11 Thomas Neumann tneumann@users.sourceforge.net
2007-04-11 Thomas Neumann < tneumann@users.sourceforge.net>
* argv.c: Use ANSI C declarations.
* argv.c: Use ANSI C declarations.
* make-relative-prefix.c: Likewise.
* make-relative-prefix.c: Likewise.
@ -3687,7 +3720,7 @@
2003-12-15 Brendan Kehoe <brendan@zen.org>
2003-12-15 Brendan Kehoe <brendan@zen.org>
* libiberty/ Makefile.in (floatformat.o): Add dependency on
* Makefile.in (floatformat.o): Add dependency on
config.h to accompany change of 2003-12-03.
config.h to accompany change of 2003-12-03.
2003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
2003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
@ -4383,7 +4416,7 @@
2002-10-06 Andreas Jaeger <aj@suse.de>
2002-10-06 Andreas Jaeger <aj@suse.de>
* libiberty/ cplus-dem.c (ada_demangle): Get rid of unneeded
* cplus-dem.c (ada_demangle): Get rid of unneeded
variable and of strict-aliasing warning.
variable and of strict-aliasing warning.
(grow_vect): Use char as first parameter.
(grow_vect): Use char as first parameter.
@ -4651,7 +4684,7 @@
2002-01-31 Adam Megacz <adam@xwt.org>
2002-01-31 Adam Megacz <adam@xwt.org>
* gcc/libiberty/ configure.in: Treat mingw the same as cywin
* configure.in: Treat mingw the same as cywin
wrt HAVE_SYS_ERRLIST.
wrt HAVE_SYS_ERRLIST.
2002-01-30 Phil Edwards <pme@gcc.gnu.org>
2002-01-30 Phil Edwards <pme@gcc.gnu.org>
@ -5159,8 +5192,8 @@ Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
John David Anglin <dave@hiauly1.hia.nrc.ca>
John David Anglin <dave@hiauly1.hia.nrc.ca>
* libiberty/l basename.c: New file.
* lbasename.c: New file.
* libiberty/ Makefile.in: Update for lbasename.
* Makefile.in: Update for lbasename.
2001-03-06 Zack Weinberg <zackw@stanford.edu>
2001-03-06 Zack Weinberg <zackw@stanford.edu>
@ -5533,13 +5566,13 @@ Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
2000-08-24 Greg McGary <greg@mcgary.org>
2000-08-24 Greg McGary <greg@mcgary.org>
* libiberty/ random.c (end_ptr): Revert previous change.
* random.c (end_ptr): Revert previous change.
2000-08-24 Greg McGary <greg@mcgary.org>
2000-08-24 Greg McGary <greg@mcgary.org>
* libiberty/ cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
* cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
demangle_expression, demangle_function_name): Use ARRAY_SIZE.
demangle_expression, demangle_function_name): Use ARRAY_SIZE.
* libiberty/ random.c (end_ptr): Likewise.
* random.c (end_ptr): Likewise.
2000-08-23 Alex Samuel <samuel@codesourcery.com>
2000-08-23 Alex Samuel <samuel@codesourcery.com>