Re: Ways to add source annotations to a loop

2012-12-03 Thread Alexey Kravets
Hello, That looks interesting thanks for pointing that out. On Mon, Dec 3, 2012 at 5:11 PM, David Malcolm wrote: > On Mon, 2012-12-03 at 12:19 +0100, Richard Biener wrote: >> On Mon, Dec 3, 2012 at 11:05 AM, Alexey Kravets wrote: >> > Hello, >> > I am looking for a way to implement source annota

Re: Ways to add source annotations to a loop

2012-12-03 Thread David Malcolm
On Mon, 2012-12-03 at 12:19 +0100, Richard Biener wrote: > On Mon, Dec 3, 2012 at 11:05 AM, Alexey Kravets wrote: > > Hello, > > I am looking for a way to implement source annotation (or something > > similar) for a for loops. Basically, I need some mechanism to mark > > certain for loops in the s

Re: Ways to add source annotations to a loop

2012-12-03 Thread Richard Biener
On Mon, Dec 3, 2012 at 11:05 AM, Alexey Kravets wrote: > Hello, > I am looking for a way to implement source annotation (or something > similar) for a for loops. Basically, I need some mechanism to mark > certain for loops in the source code for the GIMPLE optimization > passes (for C/C++ only cur

Ways to add source annotations to a loop

2012-12-03 Thread Alexey Kravets
Hello, I am looking for a way to implement source annotation (or something similar) for a for loops. Basically, I need some mechanism to mark certain for loops in the source code for the GIMPLE optimization passes (for C/C++ only currently). For example something like this: int i; __attribute__((m