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: importing code in IR (GIMPLE and/or RTL)


On Fri, 2004-05-14 at 23:17, Luchezar Belev wrote:

> The inverse would be to directly feed the given pass with code in
> GIMPLE repr., skipping
> anything before the pass. This way he could much easely analyse
> the exact behaviour of the pass without the noise added by any
> prior or following passes.
> 
One thing you could probably do is to write GIMPLE code directly.  Take
the dump for pass N, make it compilable and feed it back to cc1.  In
theory, none of the passes 1 ... N-1 should change the input program.


Diego.


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