------- Comment #2 from steven at gcc dot gnu dot org 2009-06-20 05:56 -------
There is an optimization that does this (thread prologue/epilogue insns) but it
is not always a profitable transformation, see e.g. PR40361.
You should analyze why this transformation doesn't happen for your case.
But next time, please explain also why you think this is a bug. (This applies
to all your bug reports, which are, I'm sorry to say, not very good in
general.) E.g. does code size decrease if the jump is replaced with a return?
--
steven at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40499