Does -fdump-tree-original-raw dumps out the full AST?

2014-07-24 Thread Francois Berenger
Hello,

If I use the -fdump-tree-original-raw option
of gcc, I understand it will dump out the AST
in a text file.

Is that text file complete?

Complete in the sense that, by parsing back this text file
with an external program it would be possible to reconstruct the original AST
that gcc was working on (and dumped out).

Thanks a lot,
Francois.


Re: Does -fdump-tree-original-raw dumps out the full AST?

2014-07-24 Thread Francois Berenger
On Thu, Jul 24, 2014 at 4:29 PM, Diego Novillo  wrote:
> On Thu, Jul 24, 2014 at 7:17 AM, Francois Berenger
>  wrote:
>
>> Complete in the sense that, by parsing back this text file
>> with an external program it would be possible to reconstruct the original AST
>> that gcc was working on (and dumped out).
>
> It isn't. These dumps are meant to be debugging aids. It is not
> possible to reconstruct the original program out of them.

Would it be possible to make these dumps complete?
Let's say for the C frontend of gcc.

> Diego.