Reconciling -save-temps intermediate file with cfg

Matthias Pfaller leo@marco.de
Tue Apr 30 06:08:15 GMT 2024


On 2024-04-30 00:38, 0xd--- via Gcc-help wrote:
> I am attempting to reconcile the preprocessed C file with the cfg produced from -fdump-tree-cfg-blocks-lineno. The resulting cfg identifies the line numbers of basic blocks as they relate to the original source file, however I am trying to correlate the bb's to the intermediate file (which is what I'm ultimately parsing). Is there a way to do this?
>
> Thank you in advance for any help.

maybe "-P" will help you?

Matthias



More information about the Gcc-help mailing list