[PATCH] Fix call-clobbering (PRs 36373 and 36387)
Richard Guenther
rguenther@suse.de
Mon Jun 9 11:40:00 GMT 2008
On Mon, 9 Jun 2008, Bernd Schmidt wrote:
> Richard Guenther wrote:
>
> > Let me add some general remarks. I think the call-clobbering code
> > in 4.3 is broken, or at least very non-standard.
>
> > IMHO we just clobber here and there just to make enough testcases work.
>
> That doesn't sound confidence-inspiring. Is this something that is likely to
> be fixed for future 4.3 releases? My plan was to import 4.3.1 into our
> Blackfin repository as the future system compiler, but after this thread I'm
> not so sure anymore that's a good idea.
I guess the sentence you cite is not really appropriately describing
the current situation (it was written somewhat out of frustration in the
quest to try to understand the current code). But the current code
certainly has design mistakes that you can create failing testcases for.
I am still trying to settle on a final patch for trunk, which I will
at least provide a backport to the 4.3 branch for (I'll for sure install
that for our SUSE 4.3 variant), but I'm not sure what we should do for
the branch itself.
Once I have the patch, I'll post it and ask for comments.
(It will possibly look similar to
http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00455.html)
Thanks,
Richard.
More information about the Gcc-patches
mailing list