Question on path from C parser to DECL_INITIAL

2022-03-23 Thread Erick Ochoa via Gcc
Hi, I am trying to understand what path is executed in GCC from parsing a C expression (in a global variable declaration) to the value in DECL_INITIAL. At the moment, I have annotated a tree during parsing. I have another debugging pass that looks for this tree in subsequent passes. The annotation

Re: Question on path from C parser to DECL_INITIAL

2022-03-23 Thread Richard Biener via Gcc
On Wed, Mar 23, 2022 at 12:55 PM Erick Ochoa via Gcc wrote: > > Hi, > > I am trying to understand what path is executed in GCC from parsing a C > expression (in a global variable declaration) to the value in DECL_INITIAL. > At the moment, I have annotated a tree during parsing. I have another > de

Re: Question on path from C parser to DECL_INITIAL

2022-03-23 Thread Erick Ochoa via Gcc
> I'm not sure I understand but no pass walks 'global variables', so you're > not > going to "see" the annotation from passes (whatever that means). > > What I mean by walking global variables is that I have a GIMPLE_PASS that ignores the function sent as an argument and instead just uses a FOR_EAC

Re: Question on path from C parser to DECL_INITIAL

2022-03-23 Thread Martin Jambor
Hi, On Wed, Mar 23 2022, Erick Ochoa via Gcc wrote: > Hi, > > I am trying to understand what path is executed in GCC from parsing a C > expression (in a global variable declaration) to the value in DECL_INITIAL. > At the moment, I have annotated a tree during parsing. I have another > debugging pa

[PATCH v2] Document that the 'access' and 'nonnull' attributes are independent

2022-03-23 Thread David Malcolm via Gcc
On Mon, 2022-03-14 at 16:18 -0600, Martin Sebor wrote: > On 3/9/22 14:57, David Malcolm via Gcc wrote: > > On Wed, 2022-03-09 at 13:30 -0800, Andrew Pinski wrote: > > > On Wed, Mar 9, 2022 at 1:25 PM David Malcolm via Gcc > > > wrote: > > > > > > > > We gained __attribute__ ((access, ...)) in GCC

[RISCV] RISC-V GNU Toolchain Meeting Cancell (Feb 09, 2022)

2022-03-23 Thread jiawei
Hi all, Tomorrow meeting will cancell since there are few topics to discuss. FYI, There are some progress for code size reduction support you can find in Zc status. Zfh support was required in RVV and now call for review with binutils patches [RFC PATCH 0/5] RISC-V: Add Half-p

Fwd: Reqister to become gcc mirror site

2022-03-23 Thread Ceasar Sun
Hi Gerald, Did you receive our last email ? We doesn't get your response yet. BRs,     Ceasar,     FSLab , NCHC 轉寄郵件 主旨: Re: Reqister to become gcc mirror site 日期: Mon, 7 Mar 2022 14:48:34 +0800 從: Ceasar Sun 到: Gerald Pfeifer 副本 (CC):gcc@gcc.gnu.o

Re: [PATCH v2] Document that the 'access' and 'nonnull' attributes are independent

2022-03-23 Thread Martin Sebor via Gcc
On 3/23/22 07:01, David Malcolm wrote: On Mon, 2022-03-14 at 16:18 -0600, Martin Sebor wrote: On 3/9/22 14:57, David Malcolm via Gcc wrote: On Wed, 2022-03-09 at 13:30 -0800, Andrew Pinski wrote: On Wed, Mar 9, 2022 at 1:25 PM David Malcolm via Gcc wrote: We gained __attribute__ ((access, .

Re: [PATCH v2] Document that the 'access' and 'nonnull' attributes are independent

2022-03-23 Thread Sebastian Huber
On 23/03/2022 17:31, Martin Sebor via Gcc-patches wrote: The concern is that the constraints implied by atttributes access and nonnull are independent of each other.  I would suggest to document that without talking about dereferencing because that's not implied by either of them.  E.g., somethi