]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/ChangeLog
RISC-V: Add testcase for pr114734
[thirdparty/gcc.git] / libiberty / ChangeLog
index aae88a1f0c5d5f4f98ca863591b13234bd87f7b8..cdcd4b3ced8d27c4be0c81a06ef4ba74df18cb52 100644 (file)
@@ -1,3 +1,381 @@
+2024-04-02  Tom Tromey  <tom@tromey.com>
+
+       * cplus-dem.c (cplus_demangle): Try the D demangler with
+       "auto" format.
+       * testsuite/d-demangle-expected: Add --format=auto test.
+
+2024-04-02  Jakub Jelinek  <jakub@redhat.com>
+
+       * regex.c (byte_re_match_2_internal): Fix duplicated words in comment;
+       next next -> next.
+       * dyn-string.c (dyn_string_init): Fix duplicated words in comment;
+       of of -> of.
+
+2024-02-19  Iain Sandoe  <iain@sandoe.co.uk>
+
+       PR other/113957
+       * pex-unix.c (pex_unix_exec_child): Set pid = -1 in the error
+       paths, since that is used to signal an erroneous outcome for
+       the routine.
+
+2024-02-15  Richard Biener  <rguenther@suse.de>
+
+       * hashtab.c (iterative_hash): Remove TBAA violating handling
+       of aligned little-endian case in favor of just keeping the
+       aligned case special-cased.  Use | for composing a larger word.
+
+2024-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       * vprintf-support.c (libiberty_vprintf_buffer_size): Handle
+       properly l, ll, z, t or on _WIN32 I64 modifiers for diouxX
+       and L modifier for fFgGeE.
+
+2024-01-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * cp-demangle.c (FNQUAL_COMPONENT_CASE): Add case for
+       DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
+       (d_dump): Handle DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
+       (d_nested_name): Parse H after N in nested name.
+       (d_count_templates_scopes): Handle
+       DEMANGLE_COMPONENT_XOBJ_MEMBER_FUNCTION.
+       (d_print_mod): Likewise.
+       (d_print_function_type): Likewise.
+       * testsuite/demangle-expected: Add tests for explicit object
+       member functions.
+
+2023-12-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.ac (HAVE_X86_SHA1_HW_SUPPORT): Verify __get_cpuid and
+       __get_cpuid_count are not implicitly declared.
+       * configure: Regenerated.
+
+2023-12-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * pex-unix.c (pex_unix_wait): Change return type to pid_t.
+
+2023-12-01  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_make_comp): Handle
+       DEMANGLE_COMPONENT_CONSTRAINTS.
+       (d_count_templates_scopes): Likewise.
+       (d_print_comp_inner): Likewise.
+       (d_maybe_constraints): New.
+       (d_encoding, d_template_args_1): Call it.
+       (d_parmlist): Handle 'Q'.
+       * testsuite/demangle-expected: Add some constraint tests.
+
+2023-11-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (GCC_CHECK_ASSEMBLER_HWCAP): Invoke.
+       * configure, aclocal.m4: Regenerate.
+       * Makefile.in (COMPILE.c): Add HWCAP_CFLAGS.
+
+2023-11-28  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.ac (HAVE_X86_SHA1_HW_SUPPORT): New check.
+       * sha1.c: If HAVE_X86_SHA1_HW_SUPPORT is defined, include x86intrin.h
+       and cpuid.h.
+       (sha1_hw_process_bytes, sha1_hw_process_block,
+       sha1_choose_process_bytes): New functions.
+       * config.in: Regenerated.
+       * configure: Regenerated.
+
+2023-11-15  Mark Wielaard  <mjw@redhat.com>
+
+       * aclocal.m4: Rebuild.
+
+2023-11-10  Brendan Shanks  <bshanks@codeweavers.com>
+
+       * configure.ac (AC_CHECK_HEADERS): Add spawn.h.
+       (checkfuncs): Add posix_spawn, posix_spawnp.
+       (AC_CHECK_FUNCS): Add posix_spawn, posix_spawnp.
+       * aclocal.m4, configure, config.in: Rebuild.
+       * pex-unix.c [HAVE_POSIX_SPAWN] (pex_unix_exec_child): New function.
+
+2023-08-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/109751
+       * cp-demangle.c (d_make_comp): Handle DEMANGLE_COMPONENT_FRIEND.
+       (d_count_templates_scopes): Likewise.
+       (d_print_comp_inner): Likewise.
+       (d_unqualified_name): Handle member-like friend mangling.
+       * testsuite/demangle-expected: Add test.
+
+2023-08-07  John Ericson  <git@JohnEricson.me>
+
+       * configure: Regenerate.
+
+2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
+
+       * configure: Regenerate.
+
+2023-08-07  H.J. Lu  <hjl.tools@gmail.com>
+
+       * Makefile.in (AR): Add @AR_PLUGIN_OPTION@
+       (RANLIB): Add @RANLIB_PLUGIN_OPTION@.
+       (configure_deps): Depend on ../config/gcc-plugin.m4.
+       * configure.ac: AC_SUBST AR_PLUGIN_OPTION and
+       RANLIB_PLUGIN_OPTION.
+       * aclocal.m4: Regenerated.
+       * configure: Likewise.
+
+2023-06-15  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac: Also set shared when enable_host_pie.
+       * configure: Regenerate.
+
+2023-06-13  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (d_print_conversion): Remove incorrect
+       template instantiation handling.
+       * testsuite/demangle-expected: Add testcases.
+
+2023-06-07  Costas Argyris  <costas.argyris@gmail.com>
+
+       * argv.c (writeargv): Constant propagate "0" for "status",
+       simplifying the code slightly.
+
+2023-06-06  Costas Argyris  <costas.argyris@gmail.com>
+
+       * argv.c (writeargv): Simplify & remove gotos.
+
+2023-06-05  Costas Argyris  <costas.argyris@gmail.com>
+
+       * pex-win32.c: fix typos.
+
+2023-06-05  Costas Argyris  <costas.argyris@gmail.com>
+
+       * pex-win32.c (win32_spawn): Check command line length
+       and generate a response file if necessary.
+       (spawn_script): Adjust parameters.
+       (pex_win32_exec_child): Ditto.
+
+2023-06-03  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/70790
+       * cp-demangle.c (cplus_demangle_operators): Add the noexcept
+       operator.
+       (d_print_comp_inner) <case DEMANGLE_COMPONENT_UNARY>: Always
+       print parens around the operand of noexcept too.
+       * testsuite/demangle-expected: Test noexcept operator
+       demangling.
+
+2023-04-02  Jakub Jelinek  <jakub@redhat.com>
+
+       PR other/109306
+       * strstr.c: Revert the 2020-11-13 changes.
+       (strstr): Return s1 if len is 0.
+
+2023-03-30  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * obstacks.texi (Preparing for Obstacks): Remove a (broken)
+       reference to the Glibc manual.
+
+2023-03-03  Costas Argyris  <costas.argyris@gmail.com>
+
+       * pex-win32.c (win32_spawn): Fix memory leak of cmdline
+       buffer and refactor to have cleanup code appear once
+       for all exit cases.
+
+2023-02-11  niXman  <i.nixman@autistici.org>
+
+       * lrealpath.c (lrealpath): try to resolve symlink and
+       use UNC paths where applicable.
+
+2023-01-07  LIU Hao  <lh_mouse@126.com>
+
+       PR middle-end/108300
+       * make-temp-file.c: Define `WIN32_LEAN_AND_MEAN` before <windows.h>.
+       * pex-win32.c: Likewise.
+
+2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       Revert:
+       2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac: Also set shared when enable_host_pie.
+       * configure: Regenerate.
+
+2022-11-23  Marek Polacek  <polacek@redhat.com>
+
+       * configure.ac: Also set shared when enable_host_pie.
+       * configure: Regenerate.
+
+2022-11-15  Nathan Sidwell  <nathan@acm.org>
+
+       * cp-demangle.c (struct d_print_info): Rename is_lambda_arg to
+       lambda_tpl_parms.  Augment semantics.
+       (d_make_comp): Add checks for new components.
+       (d_template_parm, d_template_head): New.
+       (d_lambda): Add templated lambda support.
+       (d_print_init): Adjust.
+       (d_print_lambda_parm_name): New.
+       (d_print_comp_inner): Support templated lambdas,
+       * testsuite/demangle-expected: Add testcases.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * doc/bsd.rst: New file.
+       * doc/conf.py: New file.
+       * doc/copyright.rst: New file.
+       * doc/extensions.rst: New file.
+       * doc/function-variable-and-macro-listing.rst: New file.
+       * doc/index.rst: New file.
+       * doc/indices-and-tables.rst: New file.
+       * doc/introduction.rst: New file.
+       * doc/lesser-general-public-license-2.1.rst: New file.
+       * doc/overview.rst: New file.
+       * doc/replacement-functions.rst: New file.
+       * doc/supplemental-functions.rst: New file.
+       * doc/using.rst: New file.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Support Sphinx based documentation.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * at-file.texi: Removed.
+       * copying-lib.texi: Removed.
+       * functions.texi: Removed.
+       * libiberty.texi: Removed.
+       * obstacks.texi: Removed.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Support --with-sphinx-build.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * doc/bsd.rst:
+       Add trailing newline.
+       * doc/copyright.rst:
+       Add trailing newline.
+       * doc/extensions.rst:
+       Add trailing newline.
+       * doc/function-variable-and-macro-listing.rst:
+       Add trailing newline.
+       * doc/index.rst:
+       Add trailing newline.
+       * doc/indices-and-tables.rst:
+       Add trailing newline.
+       * doc/introduction.rst:
+       Add trailing newline.
+       * doc/lesser-general-public-license-2.1.rst:
+       Add trailing newline.
+       * doc/overview.rst:
+       Add trailing newline.
+       * doc/replacement-functions.rst:
+       Add trailing newline.
+       * doc/supplemental-functions.rst:
+       Add trailing newline.
+       * doc/using.rst:
+       Add trailing newline.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       * doc/conf.py: Add newline at last line.
+
+2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       Revert:
+       2022-11-14  Martin Liska  <mliska@suse.cz>
+
+       PR other/107620
+       * configure: Regenerate.
+       * configure.ac: Always set sphinx-build.
+
+2022-11-13  Martin Liska  <mliska@suse.cz>
+
+       PR other/107620
+       * configure: Regenerate.
+       * configure.ac: Always set sphinx-build.
+
+2022-11-10  Martin Liska  <mliska@suse.cz>
+
+       * doc/conf.py: Add newline at last line.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * doc/bsd.rst:
+       Add trailing newline.
+       * doc/copyright.rst:
+       Add trailing newline.
+       * doc/extensions.rst:
+       Add trailing newline.
+       * doc/function-variable-and-macro-listing.rst:
+       Add trailing newline.
+       * doc/index.rst:
+       Add trailing newline.
+       * doc/indices-and-tables.rst:
+       Add trailing newline.
+       * doc/introduction.rst:
+       Add trailing newline.
+       * doc/lesser-general-public-license-2.1.rst:
+       Add trailing newline.
+       * doc/overview.rst:
+       Add trailing newline.
+       * doc/replacement-functions.rst:
+       Add trailing newline.
+       * doc/supplemental-functions.rst:
+       Add trailing newline.
+       * doc/using.rst:
+       Add trailing newline.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Support --with-sphinx-build.
+       * configure.ac: Likewise.
+       * configure: Regenerate.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * at-file.texi: Removed.
+       * copying-lib.texi: Removed.
+       * functions.texi: Removed.
+       * libiberty.texi: Removed.
+       * obstacks.texi: Removed.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * Makefile.in: Support Sphinx based documentation.
+
+2022-11-09  Martin Liska  <mliska@suse.cz>
+
+       * doc/bsd.rst: New file.
+       * doc/conf.py: New file.
+       * doc/copyright.rst: New file.
+       * doc/extensions.rst: New file.
+       * doc/function-variable-and-macro-listing.rst: New file.
+       * doc/index.rst: New file.
+       * doc/indices-and-tables.rst: New file.
+       * doc/introduction.rst: New file.
+       * doc/lesser-general-public-license-2.1.rst: New file.
+       * doc/overview.rst: New file.
+       * doc/replacement-functions.rst: New file.
+       * doc/supplemental-functions.rst: New file.
+       * doc/using.rst: New file.
+
 2022-10-18  Florian Weimer  <fweimer@redhat.com>
 
        * acinclude.m4 (ac_cv_func_strncmp_works): Add missing
 2016-06-12  Brooks Moses  <bmoses@google.com>
 
        * cp-demangle.c (cplus_demangle_print_callback): Avoid zero-length
-         VLAs.
+       VLAs.
 
 2016-05-31  Alan Modra  <amodra@gmail.com>
 
 
 2009-08-23  H.J. Lu  <hongjiu.lu@intel.com>
 
-        PR ld/10536
-        * Makefile.in (install-html-recursive): Removed.
+       PR ld/10536
+       * Makefile.in (install-html-recursive): Removed.
 
 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
@@ -7577,7 +7955,7 @@ Sun Nov 28 00:59:39 1999  Philippe De Muyter  <phdm@macqel.be>
        * strtoul.c, strtol.c, random.c: Remove advertising clause from
        BSD license, pursuant with
 
-         ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
+       ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
 
 Wed Nov 10 09:42:39 1999  Jeffrey A Law  (law@cygnus.com)
 
@@ -9961,12 +10339,12 @@ Sun Feb 27 21:50:11 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
 Thu Feb 24 11:51:12 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
 
        * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
-        (_getopt_initialize): New function, broken out of _getopt_internal.
-        (_getopt_internal):
-        If long_only and the ARGV-element has the form "-f", where f is
-        a valid short option, don't consider it an abbreviated form of
-        a long option that starts with f.  Otherwise there would be no
-        way to give the -f short option.
+       (_getopt_initialize): New function, broken out of _getopt_internal.
+       (_getopt_internal):
+       If long_only and the ARGV-element has the form "-f", where f is
+       a valid short option, don't consider it an abbreviated form of
+       a long option that starts with f.  Otherwise there would be no
+       way to give the -f short option.
 
 Thu Feb 10 14:44:16 1994  Richard Stallman  (rms@mole.gnu.ai.mit.edu)
 
@@ -10186,8 +10564,8 @@ Fri Oct 22 07:53:15 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 Tue Oct 19 17:12:01 1993  david d `zoo' zuhn  (zoo@rtl.cygnus.com)
 
        * Makefile.in (lneeded-list): ensure that object file names are
-         not duplicated, as multiple instances of the same object file in
-         a library causes problems on some machines
+       not duplicated, as multiple instances of the same object file in
+       a library causes problems on some machines
 
 Mon Oct 18 21:59:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
 
@@ -10600,10 +10978,10 @@ Wed Sep  9 12:41:48 1992  Ian Lance Taylor  (ian@cygnus.com)
 Thu Sep  3 13:29:39 1992  K. Richard Pixley  (rich@sendai.cygnus.com)
 
        * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
-         as a time optimization.
+       as a time optimization.
 
        * cplus-dem.c (cplus_demangle): remove strpbrk test.  Appears to
-         be more expensive than simply demangling.
+       be more expensive than simply demangling.
 
        * cplus-dem.c (cplus_match): new function.
 
@@ -10699,7 +11077,7 @@ Wed Jun 17 18:13:58 1992  Per Bothner  (bothner@rtl.cygnus.com)
 Tue Jun 16 16:11:59 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
 
        * getopt.c, getopt1.c: merged largely gratuitous, mostly
-         whitespace diffs from other prep distributions.
+       whitespace diffs from other prep distributions.
 
 Mon Jun 15 12:25:46 1992  Fred Fish  (fnf@cygnus.com)
 
@@ -10789,7 +11167,7 @@ Mon Apr 20 20:49:32 1992  K. Richard Pixley  (rich@cygnus.com)
        * Makefile.in: do not print recursion line.
 
        * Makefile.in: allow CFLAGS to be passed in from command line.
-         Removed MINUS_G.  Default CFLAGS to -g.
+       Removed MINUS_G.  Default CFLAGS to -g.
 
 Mon Apr 20 12:57:46 1992  Per Bothner  (bothner@rtl.cygnus.com)
 
@@ -10860,8 +11238,8 @@ Thu Feb 27 22:19:39 1992  Per Bothner  (bothner@cygnus.com)
 Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
 
        * Makefile.in, configure.in: removed traces of namesubdir,
-         -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
-         copyrights to '92, changed some from Cygnus to FSF.
+       -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
+       copyrights to '92, changed some from Cygnus to FSF.
 
 Sat Feb 22 01:09:21 1992  Stu Grossman  (grossman at cygnus.com)
 
@@ -10946,17 +11324,17 @@ Tue Dec 10 04:14:49 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
 Fri Dec  6 23:26:45 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
 
        * Makefile.in: remove spaces following hyphens because bsd make
-         can't cope.  added standards.text support.  install using
-         INSTALL_DATA.
+       can't cope.  added standards.text support.  install using
+       INSTALL_DATA.
 
        * configure.in: remove commontargets as it is no longer a
-         recognized hook.
+       recognized hook.
 
 Thu Dec  5 22:46:46 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
 
        * Makefile.in: idestdir and ddestdir go away.  Added copyrights
-         and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
-         and mandir now keyed off datadir by default.
+       and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
+       and mandir now keyed off datadir by default.
 
 Fri Nov 22 19:15:29 1991  John Gilmore  (gnu at cygnus.com)