[FIX] DOUBLE_WORD_ORDER autoconf fix for gcc 3.2

Lars.Dornheim at Student.Uni-Magdeburg.DE Lars.Dornheim at Student.Uni-Magdeburg.DE
Wed Apr 23 01:51:38 UTC 2003


Ned Konz wrote:
> On Tuesday 22 April 2003 04:41 pm, 
> Lars.Dornheim at Student.Uni-Magdeburg.DE wrote:
> 
>>>int main(void)
>>>{
>>>      union { double d; int i[ sizeof(double) / sizeof(int) ]; }
>>>d; d.d = 1.0;
>>>      return d.i[0] == 0;
>>>}
>>>
>>>which seems to work right (for me, anyway) with and without
>>>optimization.
>>>
>>>The attached patch to acinclude.m4 should work. Though it should
>>>of course be tested by people on different platforms.
>>>
>>>You have to apply it to platforms/unix/config/acinclude.m4, and
>>>then run "make" in that directory first.
>>
>>That's quite the same, I wrote a month ago. I got a message, that
>>Ian already incorporated my patch, but it has not appeared on his
>>UNIX web site since then, I think.
> 
> 
> Ah, I missed that. I wish I'd seen it; I wouldn't have spent the time 
> to figure it out myself.
> 
> Have you heard back from Ian
> 
> 

Yes, but indirectly. I got this quoted message from Bert, who got a mail
from Ian:

> > I'll adopt the proposed change immediately.  

Lars




More information about the Squeak-dev mailing list