This is the mail archive of the
mailing list for the GCC project.
[Bug middle-end/24644] [4.1 Regression] gcc-4.1 compiled ppc64 kernels do not boot
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2005 18:00:11 -0000
- Subject: [Bug middle-end/24644] [4.1 Regression] gcc-4.1 compiled ppc64 kernels do not boot
- References: <email@example.com/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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.