Mail Archives: djgpp-workers/2003/05/22/05:38:21
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 -