X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f From: Kbwms AT aol DOT com Message-ID: <39.421eff94.2d173662@aol.com> Date: Sun, 21 Dec 2003 12:46:10 EST Subject: Re: isnanf et al To: djgpp-workers AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="part1_39.421eff94.2d173662_boundary" X-Mailer: 8.0 for Windows sub 6021 Reply-To: djgpp-workers AT delorie DOT com --part1_39.421eff94.2d173662_boundary Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In a message dated 12/21/2003 12:30:14 PM Eastern Standard Time, rich AT phekda DOT gotadsl DOT co DOT uk writes: > They were errors about type-punning breaking strict aliasing (search the > gcc info docs for -fstrict-aliasing and you should find a section about > it). Using a union is the only valid way of doing type-punning, but it > seems that using it was the wrong solution. By using the union I guess > you're telling the compiler "I know what I'm doing", like with typecasts. > As was pointed out in a previous email, the macros should have never been used. The names of the macros conflict with function names in libm. The punning continues because it is executed in the macros no matter what is done by using unions. --part1_39.421eff94.2d173662_boundary Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable In a message dated 12/21/2003 12:30:1= 4 PM Eastern Standard Time, rich AT phekda DOT gotadsl DOT co DOT uk writes:

They were errors about type-pu= nning breaking strict aliasing (search the
gcc info docs for -fstrict-aliasing and you should find a section about
it). Using a union is the only valid way of doing type-punning, but it
seems that using it was the wrong solution. By using the union I guess
you're telling the compiler "I know what I'm doing", like with typecasts.

<= BR> As was pointed out in a previous email, the macros should have never been us= ed.  The names of the macros conflict with function names in libm. = ; The punning continues because it is executed in the macros no matter what=20= is done by using unions.
--part1_39.421eff94.2d173662_boundary--