LLVM/GCC social in Shenzhen China: Sept 16, 2018

2018-09-07 Thread 吴伟
Hi all, The 4th LLVM/GCC social in Shenzhen will happen on Sept 16, 2018. Everyone interested in LLVM/GCC/Toolchain/IDE related projects is invited to join. Event details is at https://mp.weixin.qq.com/s/B8e9Yndf0PxJ7pgtDWftGQ BoF style. Presentations are welcome :-) Besides, the first "Program

gcc-8-20180907 is now available

2018-09-07 Thread gccadmin
Snapshot gcc-8-20180907 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/8-20180907/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 8 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches/gcc-8

Re: w64 cross, testsuite under wine, escape sequences

2018-09-07 Thread NightStrike
On Thu, Sep 6, 2018 at 4:58 PM NightStrike wrote: > > On Thu, Sep 6, 2018 at 9:08 AM NightStrike wrote: > > > > Host: x86_64-pc-linux (Cent 6) > > Target: x86_64-w64-mingw32 (wine) > > > > When I build the linux > w64 cross compiler under linux and run the > > testsuite under wine, it all basical

Re: Passing empty "tag" structs

2018-09-07 Thread David Brown
On 07/09/2018 10:10, Jonathan Wakely wrote: On Fri, 7 Sep 2018 at 08:06, David Brown wrote: In C++ programming, it is sometimes helpful to have empty structs acting as tags. An example is "struct nothrow_t {}". When parameters of these types - such as "nothrow", are passed to functions the

Re: Passing empty "tag" structs

2018-09-07 Thread Jonathan Wakely
On Fri, 7 Sep 2018 at 08:06, David Brown wrote: > > In C++ programming, it is sometimes helpful to have empty structs acting > as tags. An example is "struct nothrow_t {}". > > When parameters of these types - such as "nothrow", are passed to > functions the compiler passes them as a value 0. Sin

Re: A possible gcc bug?

2018-09-07 Thread David Brown
On 07/09/2018 09:47, Jakub Jelinek wrote: On Fri, Sep 07, 2018 at 08:57:25AM +0200, David Brown wrote: I am always wary of saying there might be a compiler bug - usually it is a bug in the user code. But this time I am very suspicious. The example here comes from a discussion in the comp.la

Re: A possible gcc bug?

2018-09-07 Thread Jakub Jelinek
On Fri, Sep 07, 2018 at 08:57:25AM +0200, David Brown wrote: > I am always wary of saying there might be a compiler bug - usually it is a > bug in the user code. But this time I am very suspicious. The example here > comes from a discussion in the comp.lang.c Usenet group. > > Here is the code I

Passing empty "tag" structs

2018-09-07 Thread David Brown
In C++ programming, it is sometimes helpful to have empty structs acting as tags. An example is "struct nothrow_t {}". When parameters of these types - such as "nothrow", are passed to functions the compiler passes them as a value 0. Since the type cannot hold any kind of value, surely it co