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

2021-11-04 Thread Roy Qu via Gcc
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() { int x=TEST(); }: Error message: F:/test.cpp:4:20: error: macro "

gcc-9-20211104 is now available

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

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

2021-11-04 Thread Segher Boessenkool
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 Bernhard Reutner-Fischer via > >>Gcc-patches wrote: > >>> > >>>From

Custom Float

2021-11-04 Thread Amit Hmath via Gcc
Hello All, I am badly stuck at custom float encode and decode, I humbly request your assistance. I am trying to incorporate in custom floats in RISCV-32 elf, I am encoding and assigning to image at line 2985 in https://github.com/riscv-collab/riscv-gcc/blob/5964b5cd72721186ea2195a7be8d40cfe655402

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

2021-11-04 Thread Jonathan Wakely via Gcc
On Thu, 4 Nov 2021 at 12:42, Richard Biener via Gcc wrote: > > On Thu, Nov 4, 2021 at 12:57 PM 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 Bernhard Reutner-Fischer via > > > Gcc-patc

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

2021-11-04 Thread Richard Biener via Gcc
On Thu, Nov 4, 2021 at 12:57 PM 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 Bernhard Reutner-Fischer via > > Gcc-patches wrote: > > > > > > From: Bernhard Reutner-Fischer > > > > > > Bump req

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

2021-11-04 Thread Martin Liška
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 Bernhard Reutner-Fischer via Gcc-patches wrote: From: Bernhard Reutner-Fischer Bump required DejaGnu version to 1.5.3 (or later). Ok fo

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

2021-11-04 Thread Segher Boessenkool
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 Bernhard Reutner-Fischer via > Gcc-patches wrote: > > > > From: Bernhard Reutner-Fischer > > > > Bump required DejaGnu version to 1.5.3 (or later). > > Ok for trunk? > > OK. If we r

Re: does TARGET_MEM_REF documentation need updating?

2021-11-04 Thread Richard Biener via Gcc
On Wed, Nov 3, 2021 at 7:26 PM Martin Sebor via Gcc wrote: > > The manual says that the first argument of a TARGET_MEM_REF > >"is @code{TMR_SYMBOL} and must be a @code{VAR_DECL} of an object >with a fixed address." > > The TARGET_MEM_REF below has as its first argument an ADDR_EXPR > and n