Re: access to include path in front end

2022-11-30 Thread Jonathan Wakely via Gcc
On Wed, 30 Nov 2022 at 15:59, Michael Matz wrote: > If you're looking at the C frontends for inspiration, then: > > c-family/c.opt defines which options are recognized and several specifics > about them, e.g. for -I it has: > > > I > C ObjC C++ ObjC++ Joined Separate MissingArgError(missing pa

Re: access to include path in front end

2022-11-30 Thread James K. Lowden
On Wed, 30 Nov 2022 08:49:35 +0100 Richard Biener wrote: > > I would like to use the -I option to pass the names of copybook > > directories to the cobol front end. A bit of exploration yesterday > > left me with the sense that the -I argument, in C at least, is not > > passed to the compiler, b

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

2022-11-30 Thread Robert Dubner
David, for completion I am updating this message with what I've learned. I do this in the hope that I might assist the next poor souls that find themselves reverse-engineering front ends because they are creating their own front end. I claim only that this worked for me. I can't you tell what

Re: access to include path in front end

2022-11-30 Thread Michael Matz via Gcc
Hello, On Tue, 29 Nov 2022, James K. Lowden wrote: > I don't understand how to access in a front end the arguments to the -I > option on the command line. > > Cobol has a feature similar to the C preprecessor, known as the > Compiler Directing Facility (CDF). The CDF has a COPY statement that

[RISCV] RISC-V GNU Toolchain Biweekly Sync-up call (Dec 01, 2022)

2022-11-30 Thread jiawei
Hi all, Here is the agenda for tomorrow's RISC-V GNU toolchain meeting. If you have any topics want to discuss or share, please let me know and I will add them to the agenda, thanks. Agenda: - riscv-gnu-toolchain repo's updates - RVV gcc support & RVV c intrinsic api progress - -m

Re: How to debug while using LTO?

2022-11-30 Thread Richard Biener via Gcc
On Wed, Nov 30, 2022 at 11:49 AM Stefan Schulze Frielinghaus wrote: > > On Thu, Nov 24, 2022 at 05:53:53PM +0100, Richard Biener wrote: > > > > > > > Am 24.11.2022 um 17:28 schrieb Stefan Schulze Frielinghaus via Gcc > > > : > > > > > > Hi everyone, > > > > > > Currently I'm looking into a wrong

Re: How to debug while using LTO?

2022-11-30 Thread Stefan Schulze Frielinghaus via Gcc
On Thu, Nov 24, 2022 at 05:53:53PM +0100, Richard Biener wrote: > > > > Am 24.11.2022 um 17:28 schrieb Stefan Schulze Frielinghaus via Gcc > > : > > > > Hi everyone, > > > > Currently I'm looking into a wrong-code bug and would like to understand > > a certain optimization done by combine dur