Re: Passing an string argument to a GIMPLE call

2020-06-28 Thread Richard Biener via Gcc
On June 27, 2020 11:15:50 PM GMT+02:00, David Malcolm wrote: >On Sat, 2020-06-27 at 21:27 +0800, Shuai Wang via Gcc wrote: >> Dear Richard, >> >> Thanks for the info. My bad, I will need to append "\0" at the end of >> the >> string. Also, a follow-up question which I just cannot find an >> answ

atomic_load: code generation 64 bit for struct

2020-06-28 Thread Uecker, Martin
Hi all, the following code compiles into a mov instruction on x86_64. I wonder why. The struct has alignment 4, so a mov might not be atomic if the struct is not alligned to its full size. For this reason, I expected a call to libatomic instead  (LLVM does this). What am I missing? The docume

gcc-11-20200628 is now available

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