GIMPLE temporary variables
J.C. Pizarro
jcpiza@gmail.com
Tue May 8 19:44:00 GMT 2007
Andrea Callia D'Iddio <andrea.calliadiddio@gmail.com> wrote:
> Hi all,
>
> I'm writing a new compilation pass in gcc, and I'm working on GIMPLE
> code. When gcc produce GIMPLE code, it creates new temporary
> variables, in order to simplify expressions and statements. For
> example, if source C file contains
> a=a+b+19;
> then GIMPLE code is
> D.1295 = a + b;
> a = D.1295 + 19;
> how can I recognize temporary variables, such as D.1295?
> Thanks for support! bye!!
>
>
> Andrea Callia D'Iddio
This GIMPLE code is bad.
It's better without a new temporary variable D.xxxx:
a = a + b;
a = a + 19;
More information about the Gcc
mailing list