1 msgGetting process's memory usage
1 msglibgcc.mvars: No such file or directory
1 msgPlease Verify Your Email Address: REPLY to this...
2 msgGCC port for PICs
6 msgUnresolved symbol problem
6 msgCustomizing uncaught exception messages
1 msgListings for specialties such as: family practi...
1 msgMESSAGE NOT DELIVERED: photo Full for cole
2 msgatomic builtin routines
4 msgIs there a way to build a program without stdli...
3 msgOptimizer problem with repeated loops over memory
3 msgno include files in the resulting install of GC...
2 msgfar (48bit) pointer addressing
2 msgUsing libgcc library in commercial product
5 msgc++: Function style initializer
3 msgWarning
1 msgHelp needed building gcc-2.95.3 on HPUX 11.31 IA
13 msgProblem with FD_SET on mips

GCC and fdump-translation-unit
\ pingu219 (10 May 2008)
. \ Andrew Haley (10 May 2008)

7 msgerror: missing terminating ' character while mo...
Subject:GCC and fdump-translation-unit
Group:Gcc-help
From:pingu219
Date:10 May 2008


I'm a student whose currently trying to build a refactoring tool for C
and I thought it might be best to dump the intermediate representation
of the source code straight from the gcc compiler frontend. However
the tokens seem to be missing stuff like full postion information and
from what I've heard function bodies aren't dumped either except with
g++ and C++ though this might be outdated info.

The tree seems to have been optimised and had alot of folding by the
time gcc dumps it so I was wondering if there was a way of getting a
complete, pre-optimised tree from gcc maybe via a commandline argument
or if there's a suitable API. I also keep hearing about how gcc's
frontend is intermingled with the backend though I'm not sure what
exactly is meant by that. It would be great to hear your thoughts on
the utility of gcc for source code analysis by an external tool.


© 2004-2008 readlist.com