This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Need someone to look at a regression



  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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]