importing code in IR (GIMPLE and/or RTL)
Diego Novillo
dnovillo@redhat.com
Tue May 18 18:18:00 GMT 2004
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.
More information about the Gcc
mailing list