Hari <hari@xxxxxxxxxxxxxx> writes: > I am an undergraduate student at IIT Bombay working on the control flow > of GCC while compiling c code.I am intrested in tracing the path of gcc > during compilation.I don't see any good material on this topic anywhere. > One approach is to put break points in all of (176) c files > in gcc directory and check the flow but that seems to be very time > consuming . Is there is anyother way out??? The main path of compiling code is in the function rest_of_compilation(). It calls a series of passes. See also the documentation for the -d option. Ian