Nicolas COLLIN writes:
> In my version DECL_SAVED_TREE is defined as :
> #define DECL_SAVED_TREE(NODE)DECL_MEMFUNC_POINTER_TO (NODE)
> I just looked at DECL_MEMFUNC and it doesn't do what I want.
> Then I don't know how to get the statements in the FUNCTION_DECL I got.
You must be worki
In my version DECL_SAVED_TREE is defined as :
#define DECL_SAVED_TREE(NODE)DECL_MEMFUNC_POINTER_TO (NODE)
I just looked at DECL_MEMFUNC and it doesn't do what I want.
Then I don't know how to get the statements in the FUNCTION_DECL I got.
Nicolas COLLIN
Ian Lance Taylor a écrit :
Nicol
Nicolas COLLIN writes:
> I want to go through the entire internal tree in GCC but I have a
> problem with functions.
> Indeed I would like to know the declarations and functions called by a
> function.
> I assume I have to go into the function's scope but I don't know how.
> I read the source cod
Hello,
I want to go through the entire internal tree in GCC but I have a
problem with functions.
Indeed I would like to know the declarations and functions called by a
function.
I assume I have to go into the function's scope but I don't know how.
I read the source code but I didn't find anythi
Nicolas COLLIN wrote:
> Hello again,
>
> I 'm still working on egcs 1.1 and the function cp_namespace_decls is
> not implemented in.
Well, the definition is very simple
tree
cp_namespace_decls (tree ns)
{
return NAMESPACE_LEVEL (ns)->names;
}
and NAMESPACE_LEVEL exists in egcs-1.1, so why n
Hello again,
to answer your question my code's purpose is to write a kind of tree in
a file, the main arborescence is the classes, their method (with
parameters, return type, ...), their attributes, etc... it will also
recognize some new keywords I will introduce thanks to "__attribute__".
In
Hello again,
I 'm still working on egcs 1.1 and the function cp_namespace_decls is
not implemented in.
I just want to get the classes and functions implemented in my source
code and I tried to get them with the function gettags but I think I
didn't understand something. I tried to read some th
Nicolas COLLIN wrote:
> In my source code I have some useful informations about variables (for
> example a variable which is a real time attribute) and I would like to
> know it in the intermediate representation to do what I have to about
> it. Is there a way to have some informa
Hello,
thank you for your answer, it was very useful.
In my source code I have some useful informations about variables (for
example a variable which is a real time attribute) and I would like to
know it in the intermediate representation to do what I have to about
it. Is there a way to have
Nicolas COLLIN writes:
> I read that there is a variable global_namespace, I searched for it
> but I didn't find anything. Would you know how I can get the root ?
global_namespace is specific to the C++ frontend. It is defined in
cp/name-lookup.c.
I'm not sure what you mean by "the root," but
Hello.
Thank you for your help, now I understand much better how it works.
At last I began to make some source code to explore the tree, indeed the
macros are still the same except some.
But I have some questions again ...
I read that there is a variable global_namespace, I searched for it but
Nicolas COLLIN wrote:
> Hello.
Hi again Nicolas,
> I have to create a file containing some informations by processing C++
> code source for work.
> But why create a whole lexical analyzer while I can use the intermediate
> representation tree of GCC ?
> To do it, I'
Hello.
First I apologize for my english but I'm french and sometimes I make
mistakes.
I have to create a file containing some informations by processing C++
code source for work.
But why create a whole lexical analyzer while I can use the intermediate
representation tree of GCC ?
To
Nicolas COLLIN wrote:
> Hello,
> first of all excuse me for my english but I'm french so sometimes I make
> some mistakes (many ?).
> I wonder if the intermediate representation (tree) that you describe on
> this page (http://gcc.gnu.org/onlinedocs/gccint/Trees.html#Trees) was
Hello,
first of all excuse me for my english but I'm french so sometimes I make
some mistakes (many ?).
I wonder if the intermediate representation (tree) that you describe on
this page (http://gcc.gnu.org/onlinedocs/gccint/Trees.html#Trees) was
already implented in egcs 1.1.
Indeed I ha
Mateusz Berezecki wrote:
I'm new to GCC and I'd appreciate if somebody could point me to _all_
files which are responsible for intermediate representation and
constructing it.
See the internals documentation, for instance:
http://gcc.gnu.org/onlinedocs/gccint/Passes.html#Passe
Hello List,
I'm a fresh subscriber to this list :-)
I'm new to GCC and I'd appreciate if somebody could point me to _all_
files which are responsible for intermediate representation and
constructing it. I don't want to miss
any files which may be crucial and GCC codebase seem
On Mon, 28 Mar 2005, Wei Qin wrote:
> Hello GCC developers,
>
> I am avid user of gcc and have 5 cross-gcc's installed on my machine.
> Thanks for your great work. Recently I want to do some compiler work
> that involves analyzing low level intermediate representation. I
&
On 2005-03-29, at 05:59, Wei Qin wrote:
Hello GCC developers,
I am avid user of gcc and have 5 cross-gcc's installed on my machine.
Thanks for your great work. Recently I want to do some compiler work
that involves analyzing low level intermediate representation. I
thought about using res
Hello GCC developers,
I am avid user of gcc and have 5 cross-gcc's installed on my machine.
Thanks for your great work. Recently I want to do some compiler work
that involves analyzing low level intermediate representation. I
thought about using research compilers such as SUIF or SUIF I
20 matches
Mail list logo