RE: Code generation: How to define file-scope static variables?

2022-11-30 Thread Robert Dubner
Monday, November 28, 2022 21:55 To: David Malcolm ; gcc@gcc.gnu.org Cc: Bob Dubner Subject: RE: Code generation: How to define file-scope static variables? David, thank you very much. That looks very much like what I was hoping for. I'll dig into it tomorrow. Heartfelt thanks, Bob Dubne

RE: Code generation: How to define file-scope static variables?

2022-11-28 Thread Robert Dubner
generation: How to define file-scope static variables? On Mon, 2022-11-28 at 15:28 -0600, Robert Dubner wrote: > I am part of a team working on a COBOL front end for GCC. > > By reverse engineering other front ends, I learned, some months ago, > how to create a function_decl

Re: Code generation: How to define file-scope static variables?

2022-11-28 Thread David Malcolm via Gcc
On Mon, 2022-11-28 at 15:28 -0600, Robert Dubner wrote: > I am part of a team working on a COBOL front end for GCC. > > By reverse engineering other front ends, I learned, some months ago, > how > to create a function_decl GENERIC node that is the root of a GENERIC > tree > describing an entire

Code generation: How to define file-scope static variables?

2022-11-28 Thread Robert Dubner
I am part of a team working on a COBOL front end for GCC. By reverse engineering other front ends, I learned, some months ago, how to create a function_decl GENERIC node that is the root of a GENERIC tree describing an entire function. By calling the routine cgraph_node::finalize_function()