------- Comment #16 from pinskia at gcc dot gnu dot org 2005-11-04 18:00 ------- (In reply to comment #15) > This looks like gcc thinks r13 will be trashed by the call to foo() so it > copies it to a non volatile register for use after the call. Strange that > this > didn't happen before the patch found by Olaf. Actually it is the opposite way. GCC thinks that r13 will not trash (clobber) it, so it copies it. I wonder why this happens as I think it should be marked as call clobber.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24644