Re: New feature: -fdump-gimple-nodes (once more, with feeling)

2024-02-16 Thread Florian Weimer via Gcc
* Andi Kleen via Gcc: >> ***This is NodeNumber0 >> (0x7f12e13b0d00) NodeNumber0 >> tree_code: function_decl >> tree_code_class: tcc_declaration > > My suggestion if you go this route would be to generate > some standard format like YAML or JSON that other tools > ca

RE: New feature: -fdump-gimple-nodes (once more, with feeling)

2024-02-14 Thread Robert Dubner
r two files. Thanks again. -Original Message- From: Dimitar Dimitrov Sent: Wednesday, February 14, 2024 11:31 To: Robert Dubner Cc: 'GCC Mailing List' Subject: Re: New feature: -fdump-gimple-nodes (once more, with feeling) On Tue, Feb 13, 2024 at 01:46:11PM -0600, Rob

Re: New feature: -fdump-gimple-nodes (once more, with feeling)

2024-02-14 Thread Dimitar Dimitrov
On Tue, Feb 13, 2024 at 01:46:11PM -0600, Robert Dubner wrote: ... > An example of a complete dump is available at > https://www.dubner.com/main.nodes.html. The C source code that generated > it is available at the end of > https://cobolworx.com/pages/dump-gimple-nodes.html > Hyperlinked text is

Re: New feature: -fdump-gimple-nodes (once more, with feeling)

2024-02-14 Thread David Malcolm via Gcc
On Tue, 2024-02-13 at 23:40 -0800, Andi Kleen via Gcc wrote: > Robert Dubner writes: > > > There didn't seem to be any such functionality in GCC.  I found a > > routine > > in print-tree.cc which printed out a single node, but I needed to > > understand the entire tree of nodes for a function. >

Re: New feature: -fdump-gimple-nodes (once more, with feeling)

2024-02-14 Thread Richard Biener via Gcc
On Tue, Feb 13, 2024 at 8:47 PM Robert Dubner wrote: > > I have not contributed to GCC before, so I am not totally sure how to go > about it. > > So, I am letting you know what I want to do, so that I can get advice on a > good way to do it. I have read https://gcc.gnu.org/contribute.html, and I

Re: New feature: -fdump-gimple-nodes (once more, with feeling)

2024-02-13 Thread Andi Kleen via Gcc
Robert Dubner writes: > There didn't seem to be any such functionality in GCC. I found a routine > in print-tree.cc which printed out a single node, but I needed to > understand the entire tree of nodes for a function. FWIW the standard way to do this is to run the compiler in gdb with the .gdb

New feature: -fdump-gimple-nodes (once more, with feeling)

2024-02-13 Thread Robert Dubner
I have not contributed to GCC before, so I am not totally sure how to go about it. So, I am letting you know what I want to do, so that I can get advice on a good way to do it. I have read https://gcc.gnu.org/contribute.html, and I have reviewed the Gnu Coding Standards and the GCC additional cod

RE: New feature -fdump-gimple-nodes

2024-02-13 Thread Robert Dubner
, dammit. Bob Dubner. From: Robert Dubner Sent: Tuesday, February 13, 2024 14:01 To: 'GCC Mailing List' Subject: New feature -fdump-gimple-nodes I have not contributed to GCC before, so I am not sure how to go about it. So, I am letting you know what I want to do, so that I can get

New feature -fdump-gimple-nodes

2024-02-13 Thread Robert Dubner
I have not contributed to GCC before, so I am not sure how to go about it. So, I am letting you know what I want to do, so that I can get advice on the best way to do it. I have read https://gcc.gnu.org/contribute.html, and I have Jim Lowden and I have been developing a COBOL front end for GCC.