Re: Triggering -save-temps from the front-end code

2022-11-28 Thread Marc Glisse via Gcc
On Mon, 28 Nov 2022, Florian Weimer via Gcc wrote: * Arsen Arsenović: Hi, Florian Weimer via Gcc writes: Unfortunately, some build systems immediately delete the input source files. Is there some easy way I can dump the pre-processed and non-preprocessed sources to my log file? I tried t

Re: Triggering -save-temps from the front-end code

2022-11-28 Thread Florian Weimer via Gcc
* Arsen Arsenović: > Hi, > > Florian Weimer via Gcc writes: > >> Unfortunately, some build systems immediately delete the input source >> files. Is there some easy way I can dump the pre-processed and >> non-preprocessed sources to my log file? I tried to understand how >> -save-temps for crash

Re: Triggering -save-temps from the front-end code

2022-11-28 Thread Arsen Arsenović via Gcc
Hi, Florian Weimer via Gcc writes: > Unfortunately, some build systems immediately delete the input source > files. Is there some easy way I can dump the pre-processed and > non-preprocessed sources to my log file? I tried to understand how > -save-temps for crash recovery works, but it seems

Re: Triggering -save-temps from the front-end code

2022-11-28 Thread Richard Biener via Gcc
On Mon, Nov 28, 2022 at 12:30 PM Florian Weimer via Gcc wrote: > > I've got some instrumentation for logging errors to a magic directory, > so that I can see if a build triggered them even when it did not > fail—and hid all compiler errors and warnings. > > Unfortunately, some build systems immedi