]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/ChangeLog
analyzer: avoid printing '<unknown>' for SSA names [PR99771]
[thirdparty/gcc.git] / libiberty / ChangeLog
index a757715850999f44dc2e620db428ec6c66444bd2..99bb5851f6fca14b033949a79c00a213961d34e4 100644 (file)
@@ -1,3 +1,240 @@
+2021-03-16  Nick Clifton  <nickc@redhat.com>
+
+       * sha1.c (sha1_process_bytes): Use memmove in place of memcpy.
+
+2021-02-20  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (ACLOCAL, ACLOCAL_AMFLAGS, $(srcdir)/aclocal.m4): Define.
+       (configure_deps): Rename to ...
+       (aclocal_deps): ... this.  Replace aclocal.m4 with acinclude.m4.
+       ($(srcdir)/configure): Replace $(configure_deps) with
+       $(srcdir)/aclocal.m4.
+       * aclocal.m4: Move libiberty macros to acinclude.m4, then regenerate.
+       * acinclude.m4: New file.
+       * configure: Regenerate.
+
+2021-02-19  Ayush Mittal  <ayush.m@samsung.com>
+
+       * argv.c (expandargv): free allocated buffer if read fails.
+
+2021-02-01  Martin Sebor  <msebor@redhat.com>
+
+       * dyn-string.c (dyn_string_insert_cstr): Use memcpy instead of strncpy
+       to avoid -Wstringop-truncation.
+
+2021-01-04  Martin Liska  <mliska@suse.cz>
+
+       * strverscmp.c: Convert to utf8 from iso8859.
+
+2020-12-22  Jason Merrill  <jason@redhat.com>
+
+       PR c++/67343
+       * cp-demangle.h (struct d_info): Add unresolved_name_state.
+       * cp-demangle.c (d_prefix): Add subst parm.
+       (d_nested_name): Pass it.
+       (d_unresolved_name): Split out from...
+       (d_expression_1): ...here.
+       (d_demangle_callback): Maybe retry with old sr mangling.
+       * testsuite/demangle-expected: Add test.
+
+2020-12-21  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_expression_1): Recognize qualified-id
+       on RHS of dt/pt.
+       * testsuite/demangle-expected: Add test.
+
+2020-12-21  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (d_unqualified_name): Clear is_expression.
+       * testsuite/demangle-expected: Add tests.
+
+2020-11-25  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * configure: Regenerate.
+       * configure.ac: Avoid using sanitizer.
+
+2020-11-13  Eduard-Mihai Burtescu  <eddyb@lyken.rs>
+
+       * rust-demangle.c (struct rust_demangler): Add
+       skipping_printing and bound_lifetime_depth fields.
+       (eat): Add (v0-only).
+       (parse_integer_62): Add (v0-only).
+       (parse_opt_integer_62): Add (v0-only).
+       (parse_disambiguator): Add (v0-only).
+       (struct rust_mangled_ident): Add punycode{,_len} fields.
+       (parse_ident): Support v0 identifiers.
+       (print_str): Respect skipping_printing.
+       (print_uint64): Add (v0-only).
+       (print_uint64_hex): Add (v0-only).
+       (print_ident): Respect skipping_printing,
+       Support v0 identifiers.
+       (print_lifetime_from_index): Add (v0-only).
+       (demangle_binder): Add (v0-only).
+       (demangle_path): Add (v0-only).
+       (demangle_generic_arg): Add (v0-only).
+       (demangle_type): Add (v0-only).
+       (demangle_path_maybe_open_generics): Add (v0-only).
+       (demangle_dyn_trait): Add (v0-only).
+       (demangle_const): Add (v0-only).
+       (demangle_const_uint): Add (v0-only).
+       (basic_type): Add (v0-only).
+       (rust_demangle_callback): Support v0 symbols.
+       * testsuite/rust-demangle-expected: Add v0 testcases.
+
+2020-11-13  Seija Kijin  <doremylover456@gmail.com>
+
+       * strstr.c (strstr): Make implementation ANSI/POSIX compliant.
+
+2020-11-11  Patrick Palka  <ppalka@redhat.com>
+
+       PR c++/88115
+       * cp-demangle.c (d_print_comp_inner)
+       <case DEMANGLE_COMPONENT_EXTENDED_OPERATOR>: Don't print the
+       "operator " prefix for __alignof__.
+       <case DEMANGLE_COMPONENT_UNARY>: Always print parens around the
+       operand of __alignof__.
+       * testsuite/demangle-expected: Test demangling for __alignof__.
+
+2020-11-09  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * pex-win32.c (pex_win32_exec_child): Initialize orig_err.
+
+2020-10-06  Martin Liska  <mliska@suse.cz>
+
+       PR lto/97290
+       * simple-object-elf.c (simple_object_elf_copy_lto_debug_sections):
+       Use sh_link of a .symtab_shndx section.
+
+2020-09-24  Mark Wielaard  <mark@klomp.org>
+
+       * dwarfnames.c (get_DW_UT_name): Define using DW_UT_FIRST, DW_UT
+       and DW_UT_END.
+
+2020-09-08  Felix Willgerodt  <felix.willgerodt@intel.com>
+
+       * floatformat.c (floatformat_bfloat16_big): New.
+       (floatformat_bfloat16_little): New.
+
+2020-09-08  Alan Modra  <amodra@gmail.com>
+
+       * d-demangle.c: Include limits.h.
+       (ULONG_MAX, UINT_MAX): Provide fall-back definition.
+       (dlang_number): Simplify and correct overflow test.  Only
+       write *ret on returning non-NULL.  Make "ret" an unsigned long*.
+       Only succeed for result of [0,UINT_MAX].
+       (dlang_decode_backref): Simplify and correct overflow test.
+       Only write *ret on returning non-NULL.  Only succeed for
+       result [1,MAX_LONG].
+       (dlang_backref): Remove now unnecessary range check.
+       (dlang_symbol_name_p): Likewise.
+       (string_need): Take a size_t n arg, and use size_t tem.
+       (string_append): Use size_t n.
+       (string_appendn, string_prependn): Take a size_t n arg.
+       (TEMPLATE_LENGTH_UNKNOWN): Define as -1UL.
+       (dlang_lname, dlang_parse_template): Take an unsigned long len
+       arg.
+       (dlang_symbol_backref, dlang_identifier, dlang_parse_integer),
+       (dlang_parse_integer, dlang_parse_string),
+       (dlang_parse_arrayliteral, dlang_parse_assocarray),
+       (dlang_parse_structlit, dlang_parse_tuple),
+       (dlang_template_symbol_param, dlang_template_args): Use
+       unsigned long variables.
+       * testsuite/d-demangle-expected: Add new tests.
+
+2020-08-26  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-demangle.c (dlang_function_args): Handle 'in' and 'in ref'
+       parameter storage classes.
+       (dlang_type): Remove identifier type.
+       * testsuite/d-demangle-expected: Update tests.
+
+2020-08-03  Richard Biener  <rguenther@suse.de>
+
+       PR lto/96385
+       * simple-object-elf.c
+       (simple_object_elf_copy_lto_debug_sections): Localize global
+       UNDEFs and reuse the prevailing name.
+
+2020-07-30  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/96202
+       * configure: Regenerated.
+
+2020-07-14  Ian Lance Taylor  <iant@golang.org>
+
+       PR demangler/96143
+       * cp-demangle.c (d_lambda): Don't add substitution candidate.
+       * testsuite/demangle-expected: Update a few existing test cases
+       accordingly, and add a new test case.
+
+2020-07-10  Jason Merrill  <jason@redhat.com>
+
+       * cp-demangle.c (cplus_demangle_operators): Add di, dx, dX.
+       (d_expression_1): Handle di and dX.
+       (is_designated_init, d_maybe_print_designated_init): New.
+       (d_print_comp_inner): Use d_maybe_print_designated_init.
+       * testsuite/demangle-expected: Add designator tests.
+
+2020-06-26  Nick Clifton  <nickc@redhat.com>
+
+       * bsearch.c (bsearch): Remove use of register keyword.
+       * bsearch_r.c (bsearch_r): Likewise.
+
+2020-06-23  Nick Alcock  <nick.alcock@oracle.com>
+
+       * bsearch_r.c: New file.
+       * Makefile.in (CFILES): Add bsearch_r.c.
+       (REQUIRED_OFILES): Add bsearch_r.o.
+       * functions.texi: Regenerate.
+
+2020-05-29  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR bootstrap/95413
+       * configure: Regenerated.
+
+2020-05-15  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-demangle.c (dlang_attributes): Add @live attribute.
+       * testsuite/d-demangle-expected: Add new tests.
+
+2020-05-14  Rainer Schuetze  <r.sagitario@gmx.de>
+           Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-demangle.c (enum dlang_symbol_kinds): Remove enum.
+       (struct dlang_info): New struct
+       (dlang_decode_backref): New function.
+       (dlang_backref): New function.
+       (dlang_symbol_backref): New function.
+       (dlang_type_backref): New function.
+       (dlang_symbol_name_p): New function.
+       (dlang_function_type_noreturn): New function.
+       (dlang_function_type): Add 'info' parameter.  Decode function type
+       with dlang_function_type_noreturn.
+       (dlang_function_args): Add 'info' parameter.
+       (dlang_type): Add 'info' parameter.  Handle back referenced types.
+       (dlang_identifier): Replace 'kind' parameter with 'info'.  Handle back
+       referenced symbols.  Split off decoding of plain identifiers to...
+       (dlang_lname): ...here.
+       (dlang_parse_mangle): Replace 'kind' parameter with 'info'.  Decode
+       function type and return with dlang_type.
+       (dlang_parse_qualified): Replace 'kind' parameter with 'info', add
+       'suffix_modifier' parameter.  Decode function type with
+       dlang_function_type_noreturn.
+       (dlang_parse_tuple): Add 'info' parameter.
+       (dlang_template_symbol_param): New function.
+       (dlang_template_args): Add 'info' parameter.  Decode symbol parameter
+       with dlang_template_symbol_param.  Handle back referenced values, and
+       externally mangled parameters.
+       (dlang_parse_template): Add 'info' parameter.
+       (dlang_demangle_init_info): New function.
+       (dlang_demangle): Initialize and pass 'info' parameter.
+       * testsuite/d-demangle-expected: Add new tests.
+
+2020-05-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/94998
+       * configure: Regenerated.
+
 2020-04-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR bootstrap/94739