patch for label handling in flow

Richard Henderson
Mon Jan 25 20:12:00 GMT 1999

On Mon, Jan 25, 1999 at 08:25:13PM +0100, Philip Blundell wrote:
> Normally if a label has its address taken, flow will consider it to be a 
> potential target for any computed goto.  Unfortunately on the ARM port the 
> prologue used for functions compiled as PIC includes such a label.

I don't see how the arm port is using ".+4" and ".+8" without doing
anything to make certain that those instructions really stay together.
Seems like scheduling could really mess that up.  Could be the only
reason this hasn't shown up earlier is the protection given by the
erroneous CFG.  Or perhaps I miss something?

FWIW, the sparc port uses a symbol_ref in its gp load sequence.


More information about the Gcc-patches mailing list