On Thu, Mar 27, 2008 at 19:55, Dasarath Weeratunge <[EMAIL PROTECTED]> wrote:
> Is it possible to map simplified source statements back to the
>  original source code in GCC?

Yes, using the debugging information associated with every statement.
Every statement has the file and line number of the original
statement.  See EXPR_FILENAME and EXPR_LINENO.

>  If this is not possible is it possible to stop the simplification
>  altogether and just retain the original
>  source tree in say DECL_SAVED_TREE(...) ? I tried removing tree
>  lowering passes but gcc still
>  seems to simplify the source.

No.  This is not possible.


Diego.
  • gimple Dasarath Weeratunge
    • Re: gimple Diego Novillo

Reply via email to