Re: Dependent Labels Question

2011-11-04 Thread Bernd Schmidt
On 11/04/11 15:37, Hans-Peter Nilsson wrote: > On Thu, 3 Nov 2011, Iyer, Balaji V wrote: >> Is it possible to make sure that the "LABELX" occurs right >> after the "Call some_function" instruction (and the instruction >> scheduler moves the label with the call INSN)? I insert the >> label right aft

Re: Dependent Labels Question

2011-11-04 Thread Hans-Peter Nilsson
On Thu, 3 Nov 2011, Iyer, Balaji V wrote: > Is it possible to make sure that the "LABELX" occurs right > after the "Call some_function" instruction (and the instruction > scheduler moves the label with the call INSN)? I insert the > label right after the call is expanded and LABELX is being moved >

Re: Dependent Labels Question

2011-11-03 Thread Richard Henderson
On 11/03/2011 12:54 PM, Iyer, Balaji V wrote: > Is it possible to make sure that the "LABELX" occurs right after the "Call > some_function" instruction (and the instruction scheduler moves the label > with the call INSN)? I insert the label right after the call is expanded and > LABELX is being

Dependent Labels Question

2011-11-03 Thread Iyer, Balaji V
Hello Everyone, Is it possible in GCC to create a label that is some-how dependent on a RTL INSN (i.e. if the RTL INSN moves, the label moves with it)? For example: In the below code ... Add r1, r2, r3 Call some_function LABELX: Sub