Re: Adding functions at compile time

2011-09-11 Thread Ian Lance Taylor
Matt Davis writes: > I am creating a few functions at compile time, via a gcc plugin. I create the > functions and their bodies, and insert them into the call graph. This is all > done before "cgraph_finalize_compilation_unit()" has been called. I then have > another compiler pass, which gets

Adding functions at compile time

2011-09-11 Thread Matt Davis
I am creating a few functions at compile time, via a gcc plugin. I create the functions and their bodies, and insert them into the call graph. This is all done before "cgraph_finalize_compilation_unit()" has been called. I then have another compiler pass, which gets started after the SSA represe