gcc-12-20210808 is now available

2021-08-08 Thread GCC Administrator via Gcc
Snapshot gcc-12-20210808 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20210808/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Re: Suboptimal code generated for __buitlin_trunc on AMD64 without SS4_4.1

2021-08-08 Thread Vincent Lefevre
On 2021-08-07 14:32:32 +0200, Stefan Kanthak wrote: > Joseph Myers wrote: > > On Fri, 6 Aug 2021, Stefan Kanthak wrote: > > PLEASE DON'T STRIP ATTRIBUTION LINES: I did not write the following paragraph! > > >> > I don't know what the standard says about NaNs in this case, I seem to > >> > rememb

Break abis of std::span??

2021-08-08 Thread sotrdg sotrdg via Gcc
I am reading the source code of i386. I am going to add a new attribute [[gnu::ms_abi_spread_register]] to the GCC compiler and fixes the abi efficiency of std::span on ms_abi. gcc/i386.c at master ยท gcc-mirror/gcc (github.com)

get_gcov_type() vs. -fprofile-update=atomic

2021-08-08 Thread Sebastian Huber
Hello, I would like to use gcov for a multi-threaded program running on an SMP machine using a 32-bit SPARC/LEON3 target. This target supports HAVE_atomic_compare_and_swapsi but not HAVE_atomic_compare_and_swapdi. Unfortunately we have: /* Return the type node for gcov_type. */ tree get_gc