2026-01-12 Maciej W. Rozycki <macro@redhat.com> * objalloc.c (objalloc_free): Don't use the pointer passed if null. 2026-01-09 Jan Beulich <jbeulich@suse.com> * testsuite/test-pexecute.c (main): Adjust a tracing fprintf(). 2025-11-30 Jose E. Marchesi <jose.marchesi@oracle.com> * simple-object-mach-o.c (simple_object_mach_o_segment): Handle non-LTO sections. 2025-11-06 Peter Damianov <peter0x44@disroot.org> PR target/122472 * simple-object-coff.c (struct external_filehdr_bigobj): New structure for BigObj file header. (bigobj_magic): New constant for BigObj magic bytes. (struct external_syment_bigobj): New structure for BigObj 20-byte symbol table entries. (union external_auxent_bigobj): New union for BigObj 20-byte auxiliary symbol entries. (struct simple_object_coff_read): Add is_bigobj flag and make nscns 32-bit to support both formats. (struct simple_object_coff_attributes): Add is_bigobj flag. (simple_object_coff_match): Add BigObj format detection. (simple_object_coff_read_strtab): Use format-specific symbol size when calculating string table offset. (simple_object_coff_attributes_merge): Check is_bigobj flag. (simple_object_coff_write_filehdr_bigobj): New function. (simple_object_coff_write_to_file): Add logic for writing BigObj vs regular COFF format with appropriate symbol and auxiliary entry structures. 2025-11-03 Sam James <sam@gentoo.org> * configure: Regenerate. 2025-10-02 H.J. Lu <hjl.tools@gmail.com> * aclocal.m4: Regenerated. * configure: Likewise. * configure.ac: Synced from binutils-gdb. 2025-08-17 Nathaniel Shead <nathanieloshead@gmail.com> PR c++/120503 PR c++/120824 * cp-demangle.c (d_unnamed_enum): New function. (d_unqualified_name): Call it. (cplus_demangle_type): Handle unscoped unnamed types (Ue, Ul, etc.) (d_count_templates_scopes): Handle unnamed enums. (d_find_pack): Likewise. (d_print_comp_inner): Print unnamed enums. * testsuite/demangle-expected: Add tests. 2025-08-13 Jakub Jelinek <jakub@redhat.com> * cp-demangle.c (d_encoding): Fix a comment typo, whaever -> whatever. 2025-08-06 Matthieu Longo <matthieu.longo@arm.com> * testsuite/test-doubly-linked-list.c: disable debug logging on stdout. 2025-07-09 Matthieu Longo <matthieu.longo@arm.com> * Makefile.in: Add new header. * testsuite/Makefile.in: Add new test. * testsuite/test-doubly-linked-list.c: New test. 2025-05-13 Andreas Schwab <schwab@suse.de> * regex.c (regex_compile): Don't write beyond array bounds when collecting range expression. 2025-03-29 Iain Sandoe <iain@sandoe.co.uk> PR cobol/119283 * Makefile.in: Add memrchr build rules. * config.in: Regenerate. * configure: Regenerate. * configure.ac: Check for memrchr. * functions.texi: Document memrchr. * memrchr.c: New file. 2025-03-25 Iain Sandoe <iain@sandoe.co.uk> PR other/119218 * config.in: Regenerate. * configure: Regenerate. * configure.ac: Append <libgen.h> to AC_INCLUDES_DEFAULT when checking for the 'basename' decl. 2025-03-18 Jose E. Marchesi <jose.marchesi@oracle.com> * ldirname.c: New file. * Makefile.in (CFILES): Add ldirname.c. (REQUIRED_OFILES): Add ldirname.$(objext). (./ldirname.$(objext)): New rule. * makefile.vms (OBJS): Add ldirname.obj. * configure.com (FILES): Add ldirname. 2024-12-11 Matthieu Longo <matthieu.longo@arm.com> * configure: Regenerate. * configure.ac: Fix autoupdate warnings. 2024-12-11 Sangamesh Mallayya <swamy.sangamesh@gmail.com> * getopt.c: Remove _NO_PROTO block 2024-11-19 Evgeny Karpov <evgeny.karpov@microsoft.com> * simple-object-coff.c: Add aarch64. 2024-11-16 Andrew Pinski <quic_apinski@quicinc.com> * testsuite/test-demangle.c (get_line): Change K&R style definition into ANSI C90 definitions. (fail): Likewise. (main): Likewise. 2024-10-31 Mark Wielaard <mark@klomp.org> * cplus-dem.c: Change preceeded to preceded. 2024-10-10 Simon Martin <simon@nasilyan.com> * cp-demangle.c (d_dump): Fix compilation when CP_DEMANGLE_DEBUG is defined. 2024-09-07 Jakub Jelinek <jakub@redhat.com> PR lto/116614 * simple-object-elf.c (SHN_COMMON): Align comment with neighbouring comments. (SHN_HIRESERVE): Use uppercase hex digits instead of lowercase for consistency. (simple_object_elf_find_sections): Formatting fixes. (simple_object_elf_fetch_attributes): Likewise. (simple_object_elf_attributes_merge): Likewise. (simple_object_elf_start_write): Likewise. (simple_object_elf_write_ehdr): Likewise. (simple_object_elf_write_shdr): Likewise. (simple_object_elf_write_to_file): Likewise. (simple_object_elf_copy_lto_debug_section): Likewise. Don't fail for new_i - 1 >= SHN_LORESERVE, instead arrange in that case to copy over .symtab_shndx sections, though emit those last and compute their section content when processing associated .symtab sections. Handle simple_object_internal_read failure even in the .symtab_shndx reading case. 2024-08-05 Andrew Burgess <aburgess@redhat.com> * argv.c (only_whitespace): Delete. 2024-07-16 Andrew Burgess <aburgess@redhat.com> * argv.c (buildargv): Treat input of only whitespace as an empty argument list. (expandargv): Remove work around for intput that is only whitespace. * testsuite/test-expandargv.c: Add new tests 10, 11, and 12. Extend testing to call buildargv in more cases. 2024-07-16 Andrew Burgess <aburgess@redhat.com> * argv.c (buildargv): Backslashes within single quotes are literal, backslashes only escape POSIX defined special characters within double quotes, and backslashed newlines should act as line continuations. * testsuite/test-expandargv.c: Add new tests 7, 8, and 9. 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.Lines 1–500 of 11650. Load more
2026-01-12 Maciej W. Rozycki <macro@redhat.com> * objalloc.c (objalloc_free): Don't use the pointer passed if null. 2026-01-09 Jan Beulich <jbeulich@suse.com> * testsuite/test-pexecute.c (main): Adjust a tracing fprintf(). 2025-11-30 Jose E. Marchesi <jose.marchesi@oracle.com> * simple-object-mach-o.c (simple_object_mach_o_segment): Handle non-LTO sections. 2025-11-06 Peter Damianov <peter0x44@disroot.org> PR target/122472 * simple-object-coff.c (struct external_filehdr_bigobj): New structure for BigObj file header. (bigobj_magic): New constant for BigObj magic bytes. (struct external_syment_bigobj): New structure for BigObj 20-byte symbol table entries. (union external_auxent_bigobj): New union for BigObj 20-byte auxiliary symbol entries. (struct simple_object_coff_read): Add is_bigobj flag and make nscns 32-bit to support both formats. (struct simple_object_coff_attributes): Add is_bigobj flag. (simple_object_coff_match): Add BigObj format detection. (simple_object_coff_read_strtab): Use format-specific symbol size when calculating string table offset. (simple_object_coff_attributes_merge): Check is_bigobj flag. (simple_object_coff_write_filehdr_bigobj): New function. (simple_object_coff_write_to_file): Add logic for writing BigObj vs regular COFF format with appropriate symbol and auxiliary entry structures. 2025-11-03 Sam James <sam@gentoo.org> * configure: Regenerate. 2025-10-02 H.J. Lu <hjl.tools@gmail.com> * aclocal.m4: Regenerated. * configure: Likewise. * configure.ac: Synced from binutils-gdb. 2025-08-17 Nathaniel Shead <nathanieloshead@gmail.com> PR c++/120503 PR c++/120824 * cp-demangle.c (d_unnamed_enum): New function. (d_unqualified_name): Call it. (cplus_demangle_type): Handle unscoped unnamed types (Ue, Ul, etc.) (d_count_templates_scopes): Handle unnamed enums. (d_find_pack): Likewise. (d_print_comp_inner): Print unnamed enums. * testsuite/demangle-expected: Add tests. 2025-08-13 Jakub Jelinek <jakub@redhat.com> * cp-demangle.c (d_encoding): Fix a comment typo, whaever -> whatever. 2025-08-06 Matthieu Longo <matthieu.longo@arm.com> * testsuite/test-doubly-linked-list.c: disable debug logging on stdout. 2025-07-09 Matthieu Longo <matthieu.longo@arm.com> * Makefile.in: Add new header. * testsuite/Makefile.in: Add new test. * testsuite/test-doubly-linked-list.c: New test. 2025-05-13 Andreas Schwab <schwab@suse.de> * regex.c (regex_compile): Don't write beyond array bounds when collecting range expression. 2025-03-29 Iain Sandoe <iain@sandoe.co.uk> PR cobol/119283 * Makefile.in: Add memrchr build rules. * config.in: Regenerate. * configure: Regenerate. * configure.ac: Check for memrchr. * functions.texi: Document memrchr. * memrchr.c: New file. 2025-03-25 Iain Sandoe <iain@sandoe.co.uk> PR other/119218 * config.in: Regenerate. * configure: Regenerate. * configure.ac: Append <libgen.h> to AC_INCLUDES_DEFAULT when checking for the 'basename' decl. 2025-03-18 Jose E. Marchesi <jose.marchesi@oracle.com> * ldirname.c: New file. * Makefile.in (CFILES): Add ldirname.c. (REQUIRED_OFILES): Add ldirname.$(objext). (./ldirname.$(objext)): New rule. * makefile.vms (OBJS): Add ldirname.obj. * configure.com (FILES): Add ldirname. 2024-12-11 Matthieu Longo <matthieu.longo@arm.com> * configure: Regenerate. * configure.ac: Fix autoupdate warnings. 2024-12-11 Sangamesh Mallayya <swamy.sangamesh@gmail.com> * getopt.c: Remove _NO_PROTO block 2024-11-19 Evgeny Karpov <evgeny.karpov@microsoft.com> * simple-object-coff.c: Add aarch64. 2024-11-16 Andrew Pinski <quic_apinski@quicinc.com> * testsuite/test-demangle.c (get_line): Change K&R style definition into ANSI C90 definitions. (fail): Likewise. (main): Likewise. 2024-10-31 Mark Wielaard <mark@klomp.org> * cplus-dem.c: Change preceeded to preceded. 2024-10-10 Simon Martin <simon@nasilyan.com> * cp-demangle.c (d_dump): Fix compilation when CP_DEMANGLE_DEBUG is defined. 2024-09-07 Jakub Jelinek <jakub@redhat.com> PR lto/116614 * simple-object-elf.c (SHN_COMMON): Align comment with neighbouring comments. (SHN_HIRESERVE): Use uppercase hex digits instead of lowercase for consistency. (simple_object_elf_find_sections): Formatting fixes. (simple_object_elf_fetch_attributes): Likewise. (simple_object_elf_attributes_merge): Likewise. (simple_object_elf_start_write): Likewise. (simple_object_elf_write_ehdr): Likewise. (simple_object_elf_write_shdr): Likewise. (simple_object_elf_write_to_file): Likewise. (simple_object_elf_copy_lto_debug_section): Likewise. Don't fail for new_i - 1 >= SHN_LORESERVE, instead arrange in that case to copy over .symtab_shndx sections, though emit those last and compute their section content when processing associated .symtab sections. Handle simple_object_internal_read failure even in the .symtab_shndx reading case. 2024-08-05 Andrew Burgess <aburgess@redhat.com> * argv.c (only_whitespace): Delete. 2024-07-16 Andrew Burgess <aburgess@redhat.com> * argv.c (buildargv): Treat input of only whitespace as an empty argument list. (expandargv): Remove work around for intput that is only whitespace. * testsuite/test-expandargv.c: Add new tests 10, 11, and 12. Extend testing to call buildargv in more cases. 2024-07-16 Andrew Burgess <aburgess@redhat.com> * argv.c (buildargv): Backslashes within single quotes are literal, backslashes only escape POSIX defined special characters within double quotes, and backslashed newlines should act as line continuations. * testsuite/test-expandargv.c: Add new tests 7, 8, and 9. 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.