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: GCC Intermediate Representation & recommended reading & examples


Eric Dillaber wrote:
Also, if you know of any example source I could get that interfaces to
the internals to do something similiar to what I would like to do, that
would be great.

There are some options to dump info that might be useful to look at. For instance -aux-info (C), and -fdump-class-hierarchy (C++).


You may also want to look at the tree-ssa branch.
http://gcc.gnu.org/projects/tree-ssa/
This is primarily an optimization project, but it has some cleaner interfaces, and it might be easier to work with.


Interfacing to gcc internals is strongly discouraged unless this is going to be part of gcc itself. We can't allow outside projects to use gcc internals. We can't guarantee stability of interfaces, and we also need to prevent people from trying to violate the GPL.

Jim



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