This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Re: looking for the developer of tree-dump.c


Hello

Allright, so what ? :) Does anyone know where the bodies are ? I would
gladly correct the problem, because I need to generate ASTs from programs
for an article. I was looking for C parsers and gcc seemed to be a good tool
to generate trees.

----- Original Message -----
From: "Gabriel Dos Reis" <gdr@integrable-solutions.net>
To: "d43d41u5" <daedalus@freemail.hu>
Cc: <gcc@gcc.gnu.org>; <gcc-bugs@gcc.gnu.org>
Sent: Saturday, July 24, 2004 9:04 PM
Subject: Re: looking for the developer of tree-dump.c


> "d43d41u5" <daedalus@freemail.hu> writes:
>
> | Hi !
> |
> | For some reason the -fdump-translation-unit switch doesn't dumps the
body of
> | the functions from the AST if I compile sources with .c extension.
(there is
> | no "body:" in the .tu dumpfile) Are the functions bodies in the tree,
but
> | not dumped, or are they stored somewhere else ?
>
> I've come across the similar misbehaivour a week ago for mainline.  I
> think it is a regression introduced by the tree-ssa merge.
>
> It is even worse than that:  If you compile your translation unit with
> g++ (from mainline), you'll still miss most (all?) function bodies,
> except for member functions that are defined in their enclosing
> classes.
>
> -- Gaby
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]