This is the mail archive of the
mailing list for the GCC project.
On Mon, Sep 25, 2000 at 11:51:39AM +0100, Bernd Schmidt wrote:
> Just out of curiosity: would all these problems go away if we stopped
> representing small structures as integers?
No. We also get subregs from truncation.
The Sparc64 problem in question can be generated by something like
long foo(double d, int *p)
long tmp = d;
*p = tmp;
wherein we do an fp->int conversion, try and truncate, but get in
trouble with the 32-bit fp registers.