[Bug middle-end/24644] [4.1 Regression] gcc-4.1 compiled ppc64 kernels do not boot

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 4 18:00:00 GMT 2005



------- 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



More information about the Gcc-bugs mailing list