gcc-10-20211105 is now available

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

Re: GCC's excellent tail-call optimizations

2021-11-05 Thread Jeff Law via Gcc
On 11/5/2021 8:13 AM, Andrew Appel wrote: Dear GCC developers: TL;DR Can I talk to a maintainer of gcc's tail-call optimizer to learn more about the very impressive technology behind it? Or is there a paper, or documentation, that explains it? No paper or documentation I'm aware of. I

GCC's excellent tail-call optimizations

2021-11-05 Thread Andrew Appel
Dear GCC developers: TL;DR Can I talk to a maintainer of gcc's tail-call optimizer to learn more about the very impressive technology behind it? Or is there a paper, or documentation, that explains it? I am sure you know that gcc does a much better job of tail-call optimizations than its com

Re: C-family selftests in language-independant source files

2021-11-05 Thread cohenarthur.dev via Gcc
Hi Dave, On 21/11/05 09:23AM, David Malcolm wrote: > On Fri, 2021-11-05 at 10:38 +0100, cohenarthur.dev via Gcc wrote: > > Hi everyone, > > > > We have been trying to enable the use of selftests for the rust > > frontend > > over at gccrs. While doing this, I have realized that a few tests from >

Re: C-family selftests in language-independant source files

2021-11-05 Thread David Malcolm via Gcc
On Fri, 2021-11-05 at 10:38 +0100, cohenarthur.dev via Gcc wrote: > Hi everyone, > > We have been trying to enable the use of selftests for the rust > frontend > over at gccrs. While doing this, I have realized that a few tests from > language-independant source files such as `opt-problem.c` and >

Re: [PATCH] Bump required minimum DejaGnu version to 1.5.3

2021-11-05 Thread Jonathan Wakely via Gcc
On Fri, 5 Nov 2021 at 09:35, Richard Biener via Gcc wrote: > So just contribute updated dejagnu packages to CentOS 7 "backports" or > whatever means exists there? Yes, we could add a newer dejagnu to EPEL.

C-family selftests in language-independant source files

2021-11-05 Thread cohenarthur.dev via Gcc
Hi everyone, We have been trying to enable the use of selftests for the rust frontend over at gccrs. While doing this, I have realized that a few tests from language-independant source files such as `opt-problem.c` and `diagnostic.c` actually rely on the compiler being a C one. For example, one t

Re: [PATCH] Bump required minimum DejaGnu version to 1.5.3

2021-11-05 Thread Richard Biener via Gcc
On Thu, Nov 4, 2021 at 8:12 PM Segher Boessenkool wrote: > > On Thu, Nov 04, 2021 at 01:22:24PM +0100, Martin Liška wrote: > > On 11/4/21 12:55, Segher Boessenkool wrote: > > >On Fri, Oct 29, 2021 at 09:32:21AM +0200, Richard Biener via Gcc-patches > > >wrote: > > >>On Fri, Oct 29, 2021 at 2:42 AM

Re: gcc's error description for missing MACRO arguments is wrong.

2021-11-05 Thread Jonathan Wakely via Gcc
On Fri, 5 Nov 2021, 01:00 Roy Qu via Gcc, wrote: > Version: GCC 11.2 (msys2 mingw-w64 X86_64) > When a macro have more than one arguments, and u call it with no argument, > gcc will compliant with " only 1 given" instead of " 0 given" > > Demo code: > > #define TEST(x,y) test(x,y) > int main() {