Need someone to look at a regression
Jeffrey A Law
law@cygnus.com
Mon Aug 17 17:41:00 GMT 1998
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
More information about the Gcc
mailing list