delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/05/22/05:38:21

Message-ID: <006001c32045$dd90c330$0100a8c0@acp42g>
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <djgpp-workers AT delorie DOT com>
Cc: "Richard Dawe" <rich AT phekda DOT freeserve DOT co DOT uk>
References: <000b01c31df6$5e2e9fa0$0100a8c0 AT acp42g>
Subject: Re: LIBC patch for GCC 3.3 - part #1
Date: Thu, 22 May 2003 19:38:12 +1000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Reply-To: djgpp-workers AT delorie DOT com

All,

This is a different patch than the C++ build file patch. This one is a very
small change.

Any one got any feedback on this one?

Andrew
----- Original Message ----- 
From: "Andrew Cottrell" <acottrel AT ihug DOT com DOT au>
To: <djgpp-workers AT delorie DOT com>
Sent: Monday, May 19, 2003 9:04 PM
Subject: LIBC patch for GCC 3.3 - part #1


> Below are the first part of a set of patches that allow the CVS LIBC to be
> built with GCC 3.3. This one patched the gcc option files and fixes some
> type issues.
>
> Andrew
>
> *** src\gcc_old.opt     Mon May 19 20:35:48 2003
> --- src\gcc.opt Mon May 19 19:42:56 2003
> ***************
> *** 16,19 ****
> --- 16,20 ----
>   -Wcast-align
>   -Wsign-compare
>   -nostdinc
> + -fno-strict-aliasing
>
> *** src\gcc-l_old.opt   Mon May 19 20:41:18 2003
> --- src\gcc-l.opt       Mon May 19 20:39:38 2003
> ***************
> *** 4,7 ****
> --- 4,8 ----
>   -march=i386
>   -Wall
>   -nostdinc
> + -fno-strict-aliasing
>
>
> *** src\libc\ansi\stdlib\strtod_old.c   Mon May 19 20:12:32 2003
> --- src\libc\ansi\stdlib\strtod.c       Mon May 19 20:12:18 2003
> *************** strtod(const char *s, char **sret)
> *** 89,95 ****
>         mantissa_bits = strtoull(&s[4], &endptr, 16);
>         if ( *endptr == ')' )
>         {
> !       mantissa_bits = mantissa_bits & 0xfffffffffffff;
>         if( mantissa_bits )
>         {
>           n.mantissal = mantissa_bits & 0xffffffff;
> --- 89,95 ----
>         mantissa_bits = strtoull(&s[4], &endptr, 16);
>         if ( *endptr == ')' )
>         {
> !       mantissa_bits = mantissa_bits & 0xfffffffffffffLL;
>         if( mantissa_bits )
>         {
>           n.mantissal = mantissa_bits & 0xffffffff;
>
>
>
> *** src\libc\ansi\stdlib\strtold_old.c  Mon May 19 20:17:38 2003
> --- src\libc\ansi\stdlib\strtold.c      Mon May 19 20:13:38 2003
> *************** strtold(const char *s, char **sret)
> *** 86,92 ****
>         mantissa_bits = strtoull(&s[4], &endptr, 16);
>         if ( *endptr == ')' )
>         {
> !       mantissa_bits = mantissa_bits & 0x7fffffffffffffff; /* Ignore
>                                                                integer
>                                                                bit. */
>         if( mantissa_bits )
> --- 86,92 ----
>         mantissa_bits = strtoull(&s[4], &endptr, 16);
>         if ( *endptr == ')' )
>         {
> !       mantissa_bits = mantissa_bits & 0x7fffffffffffffffLL; /* Ignore
>                                                                integer
>                                                                bit. */
>         if( mantissa_bits )
>
>
>
>
>


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019