This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.1 status
- To: Andi Kleen <ak at muc dot de>
- Subject: Re: egcs-1.1 status
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 22 Aug 1998 00:21:12 -0600
- cc: "H.J. Lu" <hjl at lucon dot org>, manfred at s-direktnet dot de, Manfred dot Hollstein at ks dot sel dot alcatel dot de, egcs at cygnus dot com, linus at transmeta dot com
- Reply-To: law at cygnus dot com
In message <19980821223823.A5437@kali.lrz-muenchen.de>you write:
> > Oh god. Please stop them from doing this. regparm does not work on
> > the x86 and will never work correctly on the x86. They're just going
> > to shoot themselves in the foot.
>
> Hmm. Do you think explicitely coding it as an __asm__ would be sufficient
> as a workaround?
I don't know. But I can say for sure that using regparm is going to
cause problems on the x86. They might get away with it for a while,
but in the end the compiler is going to silently generate incorrect
code. It's not going to matter what compiler version they use, in
the end all of them are going to break.
regparm should never have gone into the compiler in the first place,
installing it was a really dumb mistake on Kenner's part. I'm very
tempted to remove it right now.
jeff