tree-optimization/97709 - set abnormal flag when vectorizing live lanes
[gcc.git] / libgcc / ChangeLog
index 0b4228237bc766dd2d20dcf4e02b7aeef3a59cd9..fa70f2f73e974931e496d85006af0eddf39aa7b3 100644 (file)
@@ -1,3 +1,346 @@
+2020-11-03  Pat Bernardi  <bernardi@adacore.com>
+           Olivier Hainque   <hainque@adacore.com>
+
+       * config.host (aarch64-vxworks7*, tmake_file): Add
+       ${cpu_type}/t-lse and t-slibgcc-libgcc.
+
+2020-11-03  Martin Storsjö  <martin@martin.st>
+
+       * unwind-seh.c (_Unwind_Backtrace): Set the ra and cfa pointers
+       before calling the callback.
+
+2020-10-30  Olivier Hainque  <hainque@adacore.com>
+           Douglas Rupp  <rupp@adacore.com>
+           Pat Bernardi  <bernardi@adacore.com>
+
+       * config.host: Adjust the ix86/x86_64-wrs-vxworks filters
+       to apply to VxWorks 7 as well.
+
+2020-10-29  Olivier Hainque  <hainque@adacore.com>
+
+       * config/gthr-vxworks-tls.c: Fix preprocessor logic
+       controlling the definition of VX_ENTER_TLS_DTOR and
+       VX_LEAVE_TLS_DTOR based on a version major check.
+
+2020-10-29  Olivier Hainque  <hainque@adacore.com>
+
+       * config/gthr-vxworks-thread.c: Fix name of macro used
+       to condition the inclusion of an actual implementation.
+
+2020-10-27  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/97461
+       * libgcov.h (gcov_counter_add): Use first static counters
+       as it should help to have malloc wrappers set up.
+
+2020-10-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
+
+       * config/gthr-vxworks-thread.c: #include gthr.h before
+       testing the guard defined there.
+       * config/gthr-vxworks-cond.c: Likewise.
+
+2020-10-21  Douglas Rupp  <rupp@adacore.com>
+           Olivier Hainque  <hainque@adacore.com>
+
+       * config.host (powerpc*-wrs-vxworks7*): New case.
+       * configure.ac: Handle powerpc*-*-vxworks7* as
+       powerpc*-*-linux* for ppc-fp_type.
+       * configure: Regenerate.
+
+2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
+
+       * config/gthr-vxworks.h: Condition the ___GTHREADS_CXX0X
+       section on VxWorks >= 6.
+       * config/gthr-vxworks-thread.c: Condition the entire
+       implementation on __GTHREAD_CXX0X.
+
+2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
+
+       * config/gthr-vxworks.h: Condition the __GTHREAD_HAS_COND
+       section on VxWorks >= 6.
+       * config/gthr-vxworks-cond.c: Condition the entire
+       implementation on __GTHREAD_HAS_COND.
+
+2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
+
+       * config/gthr-vxworks.c: #include <taskLib.h>.
+
+2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
+
+       * config/gthr-vxworks.h: Rewrite remaining occurrence
+       of _VXW_PRE_69 as _VXWORKS_PRE(6,9).
+
+2020-10-16  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
+            Olivier Hainque   <hainque@adacore.com>
+
+       * config/gthr-vxworks-tls.c (VX_ENTER_TLS_DTOR): Nil
+       except on VxWorks 6.
+
+2020-10-16  Olivier Hainque  <hainque@adacore.com>
+
+       * config/t-vxcrtstuff: Remove the -kernel/-rtp specialization.
+
+2020-10-14  Alexandre Oliva  <oliva@adacore.com>
+
+       * config/gthr-vxworks-thread.c: Include stdlib.h.
+       (tls_delete_hook): Prototype it.
+       (__gthread_cond_signal): Return early if no waiters.  Consume
+       signal in case the semaphore got full.  Use semInfoGet instead
+       of kernel-mode-only semInfo.
+       (__gthread_cond_timedwait): Use semExchange.  Always take the
+       mutex again before returning.
+       * config/gthr-vxworks-cond.c (__ghtread_cond_wait): Likewise.
+
+2020-10-14  Olivier Hainque  <hainque@adacore.com>
+
+       * config/t-vxworks (LIBGCC2_INCLUDES): Append
+       $(MULTISUBDIR) to the -I path for fixed headers, as we
+       arrange to have different sets of such headers for different
+       multilibs when they are activated.
+       * config/t-vxworks7: Likewise.
+
+2020-10-14  Olivier Hainque  <hainque@adacore.com>
+
+       * config/t-vxworks: Add include-fixed to include search
+       paths for libgcc on VxWorks.
+       * config/t-vxworks7: Likewise.
+
+2020-10-09  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR target/97148
+       * config/i386/shadow-stack-unwind.h: Include <x86gprintrin.h>
+       instead of <cetintrin.h>.
+
+2020-10-01  Alan Modra  <amodra@gmail.com>
+
+       * config/rs6000/morestack.S,
+       * config/rs6000/tramp.S: Support __PCREL__ code.
+
+2020-10-01  Alan Modra  <amodra@gmail.com>
+
+       * config/rs6000/t-linux: Document purpose of -mno-minimal-toc.
+
+2020-09-29  Maciej W. Rozycki  <macro@wdc.com>
+
+       * config/riscv/t-elf (LIB2_DIVMOD_EXCEPTION_FLAGS): New
+       variable.
+
+2020-09-28  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * config/aarch64/libgcc-softfp.ver: New file.
+       * config/aarch64/t-softfp (SHLIB_MAPFILES): Add it.
+
+2020-09-27  Clement Chigot  <clement.chigot@atos.net>
+
+       * config/rs6000/t-slibgcc-aix: Use $(AR) without -X32_64.
+
+2020-09-22  Sergei Trofimovich  <siarheit@google.com>
+
+       PR gcov-profile/96913
+       * libgcov-driver.c (write_one_data): Avoid function pointer
+       comparison in TOP streaming decision.
+
+2020-09-17  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
+           Christophe Lyon  <christophe.lyon@linaro.org>
+
+       * config/arm/fp16.c (__gnu_h2f_internal): Add 'static inline'
+       qualifier.
+       (__gnu_f2h_ieee, __gnu_h2f_ieee, __gnu_f2h_alternative)
+       (__gnu_h2f_alternative,__gnu_d2h_ieee, __gnu_d2h_alternative): Add
+       missing prototypes.
+
+2020-09-17  Wei Wentao  <weiwt.fnst@cn.fujitsu.com>
+
+       * config/aarch64/aarch64-unwind.h (aarch64_demangle_return_addr): Fix
+       unused variable warning.
+
+2020-09-16  Jojo R  <jiejie_rong@c-sky.com>
+
+       * config.host (C-SKY): Enable crtbegin/crtend.o of libgcc for elf target.
+
+2020-09-09  Tom de Vries  <tdevries@suse.de>
+
+       * config/nvptx/atomic.c (__SYNC_SUBWORD_COMPARE_AND_SWAP): Fix
+       Wbuiltin-declaration-mismatch.
+
+2020-08-26  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
+
+       * config/msp430/slli.S (__gnu_mspabi_sllp): New.
+       * config/msp430/srai.S (__gnu_mspabi_srap): New.
+       * config/msp430/srli.S (__gnu_mspabi_srlp): New.
+
+2020-08-13  Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * config/nvptx/atomic.c: New.
+       * config/nvptx/t-nvptx (LIB2ADD): Add atomic.c.
+
+2020-08-03  Ian Lance Taylor  <iant@golang.org>
+
+       * config/i386/morestack.S (BACKOFF) [x86_64]: Add 2048 bytes.
+
+2020-08-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/96402
+       * config/aarch64/lse.S (__aarch64_cas16_acq_rel): Use x2, x3 instead
+       of x(tmp0), x(tmp1) in STXP arguments.
+
+2020-07-31  Maciej W. Rozycki  <macro@wdc.com>
+
+       * config/riscv/save-restore.S [__riscv_xlen == 64]
+       (__riscv_save_10, __riscv_save_8, __riscv_save_6, __riscv_save_4)
+       (__riscv_save_2): Replace negative immediates used for the final
+       stack pointer adjustment with positive ones, right-shifted by 4.
+
+2020-07-31  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-driver.c: Add __gcov_kvp_pool
+       and __gcov_kvp_pool_index variables.
+       * libgcov.h (allocate_gcov_kvp): New.
+       (gcov_topn_add_value): Use it.
+
+2020-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * config/aarch64/lse.S: Add PAC property note.
+
+2020-07-23  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/96035
+       * libgcov-driver-system.c: Create gcov folders with 0777
+       so that it respects a system umask.
+
+2020-07-14  David Edelsohn  <dje.gcc@gmail.com>
+
+       * config/rs6000/t-slibgcc-aix: Set BITS from compiler cpp macro.
+
+2020-07-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR target/94891
+       * config/aarch64/aarch64-unwind.h (MD_POST_EXTRACT_ROOT_ADDR): Remove.
+       (MD_POST_FROB_EH_HANDLER_ADDR): Remove.
+       (MD_POST_EXTRACT_FRAME_ADDR): Rename to ...
+       (MD_DEMANGLE_RETURN_ADDR): This.
+       (aarch64_post_extract_frame_addr): Rename to ...
+       (aarch64_demangle_return_addr): This.
+       (aarch64_post_frob_eh_handler_addr): Remove.
+       * unwind-dw2.c (uw_update_context): Demangle return address.
+       (uw_frob_return_addr): Remove.
+
+2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       PR target/96001
+       * config/aarch64/lse.S: Add BTI marking and related definitions,
+       and add BTI c to function entries.
+
+2020-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+       * config/aarch64/lse.S: Add stack note.
+
+2020-07-02  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/95348
+       * libgcov-driver.c (merge_one_data): Merge only profiles
+       that are not of non-zero type.
+       (write_one_data): Write counters only if there's one non-zero
+       value.
+       * libgcov-util.c (tag_function): Change signature from unsigned
+       to int.
+       (tag_blocks): Likewise.
+       (tag_arcs): Likewise.
+       (tag_counters): Likewise.
+       (tag_summary): Likewise.
+       (tag_lines): Read only if COUNTERS is non-zero.
+       (read_gcda_file): Handle negative length for COUNTERS type.
+
+2020-06-25  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-driver.c (merge_summary): Remove function as its name
+       is misleading and doing something different.
+       (dump_one_gcov): Add ATTRIBUTE_UNUSED for 2 args. Take read summary
+       in gcov-tool.
+       * libgcov-util.c (curr_object_summary): Remove.
+       (read_gcda_file): Remove unused curr_object_summary.
+       (gcov_merge): Merge summaries.
+       * libgcov.h: Add summary argument for gcov_info struct.
+
+2020-06-24  H.J. Lu  <hjl.tools@gmail.com>
+
+       PR target/95259
+       * config/i386/cpuinfo.c: Don't include "cpuinfo.h".  Include
+       "common/config/i386/i386-cpuinfo.h" and
+       "common/config/i386/cpuinfo.h".
+       (__cpu_features2): Changed to array.
+       (get_amd_cpu): Removed.
+       (get_intel_cpu): Likewise.
+       (get_available_features): Likewise.
+       (__cpu_indicator_init): Call cpu_indicator_init.
+       * config/i386/cpuinfo.h: Removed.
+
+2020-06-23  David Edelsohn  <dje.gcc@gmail.com>
+
+       * Makefile.in: Remove uses of empty.mk. Use -include.
+       * config/avr/t-avr: Use -include.
+       * empty.mk: Delete.
+
+2020-06-21  David Edelsohn  <dje.gcc@gmail.com>
+
+       * config.host (extra_parts): Add crtcxa_64 and crtdbase_64.
+       * config/rs6000/t-aix-cxa: Explicitly compile 32 bit with -maix32
+       and 64 bit with -maix64.
+       * config/rs6000/t-slibgcc-aix: Remove extra @multilib_dir@ level.
+       Build and install AIX-style FAT libraries.
+
+2020-06-17  Samuel Thibault  <samuel.thibault@gnu.org>
+
+       * config.host (md_unwind_header) <i[34567]86-*-gnu*>: Set to
+       'i386/gnu-unwind.h'
+       * config/i386/gnu-unwind.h: New file.
+
+2020-06-17  Martin Liska  <mliska@suse.cz>
+
+       * libgcov-util.c (read_gcda_finalize): Remove const operator.
+       (merge_wrapper): Add both counts and use them properly.
+       (topn_to_memory_representation): New function.
+       (gcov_merge): Covert on disk representation to in memory
+       representation.
+       * libgcov.h: Remove const operator.
+
+2020-06-15  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * configure: Regenerate.
+       * configure.ac: Use AC_COMPILE_IFELSE instead of manual
+       preprocessor invocation to check for __XTENSA_CALL0_ABI__.
+
+2020-06-09  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/95494
+       * libgcov-driver.c (write_top_counters): Cast first to
+       intptr_t as sizeof(*) != sizeof(gcov_type).
+       * libgcov.h (gcov_counter_set_if_null): Remove.
+       (gcov_topn_add_value): Cast first to intptr_t and update
+       linked list directly.
+
+2020-06-09  Max Filippov  <jcmvbkbc@gmail.com>
+
+       * config/xtensa/unwind-dw2-xtensa.c (uw_install_context): Merge
+       with uw_install_context_1.
+
+2020-06-04  Andreas Schwab  <schwab@suse.de>
+
+       PR target/59230
+       PR libfortran/59227
+       * config/ia64/t-softfp-compat (softfp_file_list): Filter out
+       soft-fp/divtf3.c.
+       (LIB2ADD): Add config/ia64/divtf3.c.
+       * config/ia64/divtf3.c: New file.
+
+2020-06-03  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/95480
+       * libgcov-profiler.c (GCOV_SUPPORTS_ATOMIC): Move to...
+       * libgcov.h (GCOV_SUPPORTS_ATOMIC): ...here.
+       (gcov_counter_add): Use GCOV_SUPPORTS_ATOMIC guard.
+       (gcov_counter_set_if_null): Likewise.
+
 2020-06-02  Jim Wilson  <jimw@sifive.com>
 
        * config/riscv/div.S (__divdi3): For negative arguments, change bgez