Dependent Labels Question
Iyer, Balaji V
balaji.v.iyer@intel.com
Thu Nov 3 19:55:00 GMT 2011
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 r3, r4, r5
...
...
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 above the Call instruction by the schedule_insns function.
Thanks,
Balaji V. Iyer.
More information about the Gcc
mailing list