This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Need someone to look at a regression
- To: Kamil Iskra <kamil at dwd dot interkom dot pl>
- Subject: Re: Need someone to look at a regression
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 17 Aug 1998 13:15:28 -0600
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <Pine.LNX.3.95.980817115257.25384E-100000@plum.dwd.interkom.pl>you write:
>
> Definitely "int" and "__attribute__ ((mode (SF)))" on the same typedef
> clash.
>
> However, "float" and "__attribute__ ((mode (SF)))" certainly do not.
Yes, float and SFmode clash since there is no guarantee that a float
has the same size as SFmode.
> Now, what do I want? An integer? A pointer? Or perhaps a 4-byte
> structure? GCC will use SImode for all of them on my machine.
Right. Once you get past the front-end, types are not preserved. You
just have mode and size. And this is precisely what the attributes
are supposed to provide.
jeff