Mail Archives: djgpp-workers/2003/05/19/07:04:40
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 -