[Bug c++/26329] confusing error message for ambiguous namespaces declarations

2006-02-16 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2006-02-16 21:50 ---
Fixed in 4.1.0 and above:
t.cc:8: error: reference to ‘NsIn’ is ambiguous
t.cc:4: error: candidates are: namespace NsIn { }
t.cc:2: error: namespace NsOut::NsIn { }
t.cc:8: error: expected ‘,’ or ‘...’ before ‘*’ token


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26329



[Bug target/20353] uclibc does not provide C99 math functions

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #6 from jsm28 at gcc dot gnu dot org  2006-02-16 23:29 ---
Subject: Bug 20353

Author: jsm28
Date: Thu Feb 16 23:29:10 2006
New Revision: 60

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=60
Log:
gcc:
PR target/20353
PR target/24578
PR target/24837
* config/linux.opt: New file.
* config/linux.h (CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change to
GLIBC_DYNAMIC_LINKER.
* config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* doc/invoke.texi (GNU/Linux Options): New section.

gcc/testsuite:
* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define if
__UCLIBC__ is defined.

libstdc++-v3:
PR libstdc++/14939
* config/os/uclibc/ctype_base.h, config/os/uclibc/ctype_inline.h,
config/os/uclibc/ctype_noninline.h, config/os/uclibc/os_defines.h:
New.
* acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc.
* configure.host: Use os/uclibc for uClibc.
* crossconfig.m4 (*-linux*): Use link tests.  Don't hardcode
presence of math functions.
* configure: Regenerate.

Added:
trunk/gcc/config/linux.opt
trunk/libstdc++-v3/config/os/uclibc/
trunk/libstdc++-v3/config/os/uclibc/ctype_base.h
trunk/libstdc++-v3/config/os/uclibc/ctype_inline.h
trunk/libstdc++-v3/config/os/uclibc/ctype_noninline.h
trunk/libstdc++-v3/config/os/uclibc/os_defines.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/arm/linux-eabi.h
trunk/gcc/config/arm/linux-elf.h
trunk/gcc/config/linux.h
trunk/gcc/config/mips/linux.h
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/builtins-config.h
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.host
trunk/libstdc++-v3/crossconfig.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20353



[Bug target/24837] move dynamic linker names out of LINK_SPEC and into new DYNAMIC_LINKER

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #3 from jsm28 at gcc dot gnu dot org  2006-02-16 23:29 ---
Subject: Bug 24837

Author: jsm28
Date: Thu Feb 16 23:29:10 2006
New Revision: 60

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=60
Log:
gcc:
PR target/20353
PR target/24578
PR target/24837
* config/linux.opt: New file.
* config/linux.h (CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change to
GLIBC_DYNAMIC_LINKER.
* config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* doc/invoke.texi (GNU/Linux Options): New section.

gcc/testsuite:
* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define if
__UCLIBC__ is defined.

libstdc++-v3:
PR libstdc++/14939
* config/os/uclibc/ctype_base.h, config/os/uclibc/ctype_inline.h,
config/os/uclibc/ctype_noninline.h, config/os/uclibc/os_defines.h:
New.
* acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc.
* configure.host: Use os/uclibc for uClibc.
* crossconfig.m4 (*-linux*): Use link tests.  Don't hardcode
presence of math functions.
* configure: Regenerate.

Added:
trunk/gcc/config/linux.opt
trunk/libstdc++-v3/config/os/uclibc/
trunk/libstdc++-v3/config/os/uclibc/ctype_base.h
trunk/libstdc++-v3/config/os/uclibc/ctype_inline.h
trunk/libstdc++-v3/config/os/uclibc/ctype_noninline.h
trunk/libstdc++-v3/config/os/uclibc/os_defines.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/arm/linux-eabi.h
trunk/gcc/config/arm/linux-elf.h
trunk/gcc/config/linux.h
trunk/gcc/config/mips/linux.h
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/builtins-config.h
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.host
trunk/libstdc++-v3/crossconfig.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24837



[Bug libstdc++/14939] libstdc++ doesn't compile with uclibc headers

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #9 from jsm28 at gcc dot gnu dot org  2006-02-16 23:29 ---
Subject: Bug 14939

Author: jsm28
Date: Thu Feb 16 23:29:10 2006
New Revision: 60

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=60
Log:
gcc:
PR target/20353
PR target/24578
PR target/24837
* config/linux.opt: New file.
* config/linux.h (CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change to
GLIBC_DYNAMIC_LINKER.
* config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* doc/invoke.texi (GNU/Linux Options): New section.

gcc/testsuite:
* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define if
__UCLIBC__ is defined.

libstdc++-v3:
PR libstdc++/14939
* config/os/uclibc/ctype_base.h, config/os/uclibc/ctype_inline.h,
config/os/uclibc/ctype_noninline.h, config/os/uclibc/os_defines.h:
New.
* acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc.
* configure.host: Use os/uclibc for uClibc.
* crossconfig.m4 (*-linux*): Use link tests.  Don't hardcode
presence of math functions.
* configure: Regenerate.

Added:
trunk/gcc/config/linux.opt
trunk/libstdc++-v3/config/os/uclibc/
trunk/libstdc++-v3/config/os/uclibc/ctype_base.h
trunk/libstdc++-v3/config/os/uclibc/ctype_inline.h
trunk/libstdc++-v3/config/os/uclibc/ctype_noninline.h
trunk/libstdc++-v3/config/os/uclibc/os_defines.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/arm/linux-eabi.h
trunk/gcc/config/arm/linux-elf.h
trunk/gcc/config/linux.h
trunk/gcc/config/mips/linux.h
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/builtins-config.h
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.host
trunk/libstdc++-v3/crossconfig.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14939



[Bug target/24578] compiler emits call to floorf() instead of floor()

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #3 from jsm28 at gcc dot gnu dot org  2006-02-16 23:29 ---
Subject: Bug 24578

Author: jsm28
Date: Thu Feb 16 23:29:10 2006
New Revision: 60

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=60
Log:
gcc:
PR target/20353
PR target/24578
PR target/24837
* config/linux.opt: New file.
* config/linux.h (CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change to
GLIBC_DYNAMIC_LINKER.
* config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* doc/invoke.texi (GNU/Linux Options): New section.

gcc/testsuite:
* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define if
__UCLIBC__ is defined.

libstdc++-v3:
PR libstdc++/14939
* config/os/uclibc/ctype_base.h, config/os/uclibc/ctype_inline.h,
config/os/uclibc/ctype_noninline.h, config/os/uclibc/os_defines.h:
New.
* acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc.
* configure.host: Use os/uclibc for uClibc.
* crossconfig.m4 (*-linux*): Use link tests.  Don't hardcode
presence of math functions.
* configure: Regenerate.

Added:
trunk/gcc/config/linux.opt
trunk/libstdc++-v3/config/os/uclibc/
trunk/libstdc++-v3/config/os/uclibc/ctype_base.h
trunk/libstdc++-v3/config/os/uclibc/ctype_inline.h
trunk/libstdc++-v3/config/os/uclibc/ctype_noninline.h
trunk/libstdc++-v3/config/os/uclibc/os_defines.h
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.gcc
trunk/gcc/config/arm/linux-eabi.h
trunk/gcc/config/arm/linux-elf.h
trunk/gcc/config/linux.h
trunk/gcc/config/mips/linux.h
trunk/gcc/doc/invoke.texi
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gcc.dg/builtins-config.h
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/acinclude.m4
trunk/libstdc++-v3/configure
trunk/libstdc++-v3/configure.host
trunk/libstdc++-v3/crossconfig.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24578



[Bug target/24578] compiler emits call to floorf() instead of floor()

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #4 from jsm28 at gcc dot gnu dot org  2006-02-16 23:38 ---
Subject: Bug 24578

Author: jsm28
Date: Thu Feb 16 23:38:44 2006
New Revision: 61

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=61
Log:
PR libstdc++/14939
PR target/20353
PR target/24578
PR target/24837
* gcc/config/linux.opt: New file.
* gcc/config/linux.h (CHOOSE_DYNAMIC_LINKER,
UCLIBC_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* gcc/config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* gcc/config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change
to GLIBC_DYNAMIC_LINKER.
* gcc/config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/doc/invoke.texi (GNU/Linux Options): New section.
* gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't
define if __UCLIBC__ is defined.
* libstdc++-v3/config/os/uclibc/ctype_base.h,
libstdc++-v3/config/os/uclibc/ctype_inline.h,
libstdc++-v3/config/os/uclibc/ctype_noninline.h,
libstdc++-v3/config/os/uclibc/os_defines.h: New.
* libstdc++-v3/acinclude.m4 (GLIBCXX_CONFIGURE): Test whether
using uClibc.
* libstdc++-v3/configure.host: Use os/uclibc for uClibc.
* libstdc++-v3/crossconfig.m4 (*-linux*): Use link tests.  Don't
hardcode presence of math functions.
* libstdc++-v3/configure: Regenerate.

Added:
branches/csl/sourcerygxx-4_1/gcc/config/linux.opt
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_base.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_inline.h
   
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_noninline.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/os_defines.h
Modified:
branches/csl/sourcerygxx-4_1/ChangeLog.csl
branches/csl/sourcerygxx-4_1/gcc/config.gcc
branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-eabi.h
branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-elf.h
branches/csl/sourcerygxx-4_1/gcc/config/linux.h
branches/csl/sourcerygxx-4_1/gcc/config/mips/linux.h
branches/csl/sourcerygxx-4_1/gcc/doc/invoke.texi
branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.dg/builtins-config.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/acinclude.m4
branches/csl/sourcerygxx-4_1/libstdc++-v3/configure
branches/csl/sourcerygxx-4_1/libstdc++-v3/configure.host
branches/csl/sourcerygxx-4_1/libstdc++-v3/crossconfig.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24578



[Bug target/20353] uclibc does not provide C99 math functions

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #7 from jsm28 at gcc dot gnu dot org  2006-02-16 23:38 ---
Subject: Bug 20353

Author: jsm28
Date: Thu Feb 16 23:38:44 2006
New Revision: 61

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=61
Log:
PR libstdc++/14939
PR target/20353
PR target/24578
PR target/24837
* gcc/config/linux.opt: New file.
* gcc/config/linux.h (CHOOSE_DYNAMIC_LINKER,
UCLIBC_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* gcc/config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* gcc/config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change
to GLIBC_DYNAMIC_LINKER.
* gcc/config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/doc/invoke.texi (GNU/Linux Options): New section.
* gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't
define if __UCLIBC__ is defined.
* libstdc++-v3/config/os/uclibc/ctype_base.h,
libstdc++-v3/config/os/uclibc/ctype_inline.h,
libstdc++-v3/config/os/uclibc/ctype_noninline.h,
libstdc++-v3/config/os/uclibc/os_defines.h: New.
* libstdc++-v3/acinclude.m4 (GLIBCXX_CONFIGURE): Test whether
using uClibc.
* libstdc++-v3/configure.host: Use os/uclibc for uClibc.
* libstdc++-v3/crossconfig.m4 (*-linux*): Use link tests.  Don't
hardcode presence of math functions.
* libstdc++-v3/configure: Regenerate.

Added:
branches/csl/sourcerygxx-4_1/gcc/config/linux.opt
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_base.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_inline.h
   
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_noninline.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/os_defines.h
Modified:
branches/csl/sourcerygxx-4_1/ChangeLog.csl
branches/csl/sourcerygxx-4_1/gcc/config.gcc
branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-eabi.h
branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-elf.h
branches/csl/sourcerygxx-4_1/gcc/config/linux.h
branches/csl/sourcerygxx-4_1/gcc/config/mips/linux.h
branches/csl/sourcerygxx-4_1/gcc/doc/invoke.texi
branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.dg/builtins-config.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/acinclude.m4
branches/csl/sourcerygxx-4_1/libstdc++-v3/configure
branches/csl/sourcerygxx-4_1/libstdc++-v3/configure.host
branches/csl/sourcerygxx-4_1/libstdc++-v3/crossconfig.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20353



[Bug libstdc++/14939] libstdc++ doesn't compile with uclibc headers

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #10 from jsm28 at gcc dot gnu dot org  2006-02-16 23:38 ---
Subject: Bug 14939

Author: jsm28
Date: Thu Feb 16 23:38:44 2006
New Revision: 61

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=61
Log:
PR libstdc++/14939
PR target/20353
PR target/24578
PR target/24837
* gcc/config/linux.opt: New file.
* gcc/config/linux.h (CHOOSE_DYNAMIC_LINKER,
UCLIBC_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* gcc/config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* gcc/config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change
to GLIBC_DYNAMIC_LINKER.
* gcc/config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/doc/invoke.texi (GNU/Linux Options): New section.
* gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't
define if __UCLIBC__ is defined.
* libstdc++-v3/config/os/uclibc/ctype_base.h,
libstdc++-v3/config/os/uclibc/ctype_inline.h,
libstdc++-v3/config/os/uclibc/ctype_noninline.h,
libstdc++-v3/config/os/uclibc/os_defines.h: New.
* libstdc++-v3/acinclude.m4 (GLIBCXX_CONFIGURE): Test whether
using uClibc.
* libstdc++-v3/configure.host: Use os/uclibc for uClibc.
* libstdc++-v3/crossconfig.m4 (*-linux*): Use link tests.  Don't
hardcode presence of math functions.
* libstdc++-v3/configure: Regenerate.

Added:
branches/csl/sourcerygxx-4_1/gcc/config/linux.opt
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_base.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_inline.h
   
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_noninline.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/os_defines.h
Modified:
branches/csl/sourcerygxx-4_1/ChangeLog.csl
branches/csl/sourcerygxx-4_1/gcc/config.gcc
branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-eabi.h
branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-elf.h
branches/csl/sourcerygxx-4_1/gcc/config/linux.h
branches/csl/sourcerygxx-4_1/gcc/config/mips/linux.h
branches/csl/sourcerygxx-4_1/gcc/doc/invoke.texi
branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.dg/builtins-config.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/acinclude.m4
branches/csl/sourcerygxx-4_1/libstdc++-v3/configure
branches/csl/sourcerygxx-4_1/libstdc++-v3/configure.host
branches/csl/sourcerygxx-4_1/libstdc++-v3/crossconfig.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14939



[Bug target/24837] move dynamic linker names out of LINK_SPEC and into new DYNAMIC_LINKER

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #4 from jsm28 at gcc dot gnu dot org  2006-02-16 23:38 ---
Subject: Bug 24837

Author: jsm28
Date: Thu Feb 16 23:38:44 2006
New Revision: 61

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=61
Log:
PR libstdc++/14939
PR target/20353
PR target/24578
PR target/24837
* gcc/config/linux.opt: New file.
* gcc/config/linux.h (CHOOSE_DYNAMIC_LINKER,
UCLIBC_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER): Define.
(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
* gcc/config.gcc (*-*-linux*): Define extra_options.
(*-*-*uclibc*): Define UCLIBC_DEFAULT.
(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
* gcc/config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change
to GLIBC_DYNAMIC_LINKER.
* gcc/config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
* gcc/doc/invoke.texi (GNU/Linux Options): New section.
* gcc/testsuite/gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't
define if __UCLIBC__ is defined.
* libstdc++-v3/config/os/uclibc/ctype_base.h,
libstdc++-v3/config/os/uclibc/ctype_inline.h,
libstdc++-v3/config/os/uclibc/ctype_noninline.h,
libstdc++-v3/config/os/uclibc/os_defines.h: New.
* libstdc++-v3/acinclude.m4 (GLIBCXX_CONFIGURE): Test whether
using uClibc.
* libstdc++-v3/configure.host: Use os/uclibc for uClibc.
* libstdc++-v3/crossconfig.m4 (*-linux*): Use link tests.  Don't
hardcode presence of math functions.
* libstdc++-v3/configure: Regenerate.

Added:
branches/csl/sourcerygxx-4_1/gcc/config/linux.opt
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_base.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_inline.h
   
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/ctype_noninline.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/config/os/uclibc/os_defines.h
Modified:
branches/csl/sourcerygxx-4_1/ChangeLog.csl
branches/csl/sourcerygxx-4_1/gcc/config.gcc
branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-eabi.h
branches/csl/sourcerygxx-4_1/gcc/config/arm/linux-elf.h
branches/csl/sourcerygxx-4_1/gcc/config/linux.h
branches/csl/sourcerygxx-4_1/gcc/config/mips/linux.h
branches/csl/sourcerygxx-4_1/gcc/doc/invoke.texi
branches/csl/sourcerygxx-4_1/gcc/testsuite/gcc.dg/builtins-config.h
branches/csl/sourcerygxx-4_1/libstdc++-v3/acinclude.m4
branches/csl/sourcerygxx-4_1/libstdc++-v3/configure
branches/csl/sourcerygxx-4_1/libstdc++-v3/configure.host
branches/csl/sourcerygxx-4_1/libstdc++-v3/crossconfig.m4


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24837



[Bug libstdc++/14939] libstdc++ doesn't compile with uclibc headers

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #11 from jsm28 at gcc dot gnu dot org  2006-02-16 23:39 ---
Fixed for 4.2.


-- 

jsm28 at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14939



[Bug target/20353] uclibc does not provide C99 math functions

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #8 from jsm28 at gcc dot gnu dot org  2006-02-16 23:40 ---
Fixed for 4.2.


-- 

jsm28 at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20353



[Bug target/24578] compiler emits call to floorf() instead of floor()

2006-02-16 Thread jsm28 at gcc dot gnu dot org


--- Comment #5 from jsm28 at gcc dot gnu dot org  2006-02-16 23:41 ---
Fixed for 4.2.


-- 

jsm28 at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24578



[Bug fortran/26224] ICE in C$OMP SINGLE / END SINGLE COPYPRIVATE( ) block

2006-02-16 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2006-02-16 23:46 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.2.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26224



[Bug libfortran/26136] List directed input with underfilled (logicals) array read incorrectly

2006-02-16 Thread jvdelisle at gcc dot gnu dot org


--- Comment #14 from jvdelisle at gcc dot gnu dot org  2006-02-17 00:07 
---
A patch is testing and I am working up some additional test cases.  The test
case in this PR is working.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26136



[Bug tree-optimization/26304] [4.2 Regression] 25_algorithms/prev_permutation/1.cc on powerpc{64,}-linux and powerpc-darwin

2006-02-16 Thread law at redhat dot com


--- Comment #11 from law at redhat dot com  2006-02-17 00:19 ---
Subject: Re:  [4.2 Regression]
25_algorithms/prev_permutation/1.cc on powerpc{64,}-linux and
powerpc-darwin

On Wed, 2006-02-15 at 15:37 +, pinskia at gcc dot gnu dot org wrote:
 
 --- Comment #7 from pinskia at gcc dot gnu dot org  2006-02-15 15:37 
 ---
 Here is a self contained program without using libstdc++:
 int array[10] = {5, 4, 3, 2, 1, 0};
 int array1[10] = {5, 4, 3, 2, 1, 0};
 int array2[10] = {5, 4, 3, 2, 1, 0};
 #include cassert
 
 void g(int *a)
 {
   *a = 0;
 }
 
 void
 test4()
 {
   g(array+6);
   for(int i = 0; i  6; ++i)
 assert(array[i] == 5 - i);
   for(int i = 0; i  6; ++i)
 {
 assert(array[i] == 5 - i);
 assert(array1[i] == 5 - i);
 assert(array2[i] == 5 - i);
 }
 }
 
 int main()
 {
   test4();
I've just checked in a patch which may (or may not) fix this problem;
can you update your stor-layout.c and see if that change happens to
fix this problem.

Thanks,
jeff


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26304



[Bug debug/26330] New: gcc generates code that does not allow retrieval of struct arguments with debugger

2006-02-16 Thread tausq at debian dot org
Given the following code from gdb's funcargs test:

typedef struct s
{
  short s;
  int i;
  long l;
} SVAL;

void recurse (SVAL a, int depth)
{
  a.s = a.i = a.l = --depth;
  if (depth == 0)
hitbottom ();
  else
recurse (a, depth);
}

compiled with -g

gcc-4.0 does not emit a dwarf location for the 'a' argument:

$ readelf -wi funcargs
[]
 21921: Abbrev Number: 11 (DW_TAG_formal_parameter)
 DW_AT_name: a
 DW_AT_decl_file   : 1
 DW_AT_decl_line   : 612
 DW_AT_type: 18e0

in gcc-3.x, you will get one more dwarf attribute:
 DW_AT_location: 3 byte block: 91 18 6  (DW_OP_fbreg: 24; DW_OP_deref)

The difference is that in gcc 3.x, the first argument is first copied from the
incoming argument register to the stack. In gcc-4.x the generated code does not
do this stack save and uses the incoming register directly (actually it first
copies it to a scratch register).


-- 
   Summary: gcc generates code that does not allow retrieval of
struct arguments with debugger
   Product: gcc
   Version: 4.0.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: debug
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tausq at debian dot org
 GCC build triplet: hppa-unknown-linux
  GCC host triplet: hppa-unknown-linux
GCC target triplet: hppa-unknown-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26330



Re: [Bug tree-optimization/14784] [Tree-ssa] alias analysis deficiency

2006-02-16 Thread Daniel Berlin
On Thu, 2006-02-16 at 21:40 +, pinskia at gcc dot gnu dot org wrote:
 
 --- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-16 21:40 
 ---
 We get:
   # bitmap_free_7 = PHI bitmap_free_1(4), bitmap_free_6(5);
 L0:;
 
   # bitmap_free_1 = PHI bitmap_free_7(3), bitmap_free_2(2);
 L4:;
   #   VUSE bitmap_free_1;
   D.1534_4 = head_3-using_obstack;
   if (D.1534_4 != 0) goto L1; else goto L0;
 
 L1:;
   #   bitmap_free_6 = V_MUST_DEF bitmap_free_1;
   bitmap_free = elt_5;
   goto bb 3 (L0);
 
 I cannot figure out why Daniel's recent patches did not fix this one.

Probably the !POINTER_TYPE_P check

 
 



[Bug tree-optimization/14784] [Tree-ssa] alias analysis deficiency

2006-02-16 Thread dberlin at dberlin dot org


--- Comment #5 from dberlin at gcc dot gnu dot org  2006-02-17 01:04 ---
Subject: Re:  [Tree-ssa] alias analysis
deficiency

On Thu, 2006-02-16 at 21:40 +, pinskia at gcc dot gnu dot org wrote:
 
 --- Comment #4 from pinskia at gcc dot gnu dot org  2006-02-16 21:40 
 ---
 We get:
   # bitmap_free_7 = PHI bitmap_free_1(4), bitmap_free_6(5);
 L0:;
 
   # bitmap_free_1 = PHI bitmap_free_7(3), bitmap_free_2(2);
 L4:;
   #   VUSE bitmap_free_1;
   D.1534_4 = head_3-using_obstack;
   if (D.1534_4 != 0) goto L1; else goto L0;
 
 L1:;
   #   bitmap_free_6 = V_MUST_DEF bitmap_free_1;
   bitmap_free = elt_5;
   goto bb 3 (L0);
 
 I cannot figure out why Daniel's recent patches did not fix this one.

Probably the !POINTER_TYPE_P check

 
 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14784



[Bug bootstrap/16787] NAN constant (0.0/0.0) cannot be compiled by Tru64 cc

2006-02-16 Thread sayle at gcc dot gnu dot org


--- Comment #15 from sayle at gcc dot gnu dot org  2006-02-17 01:13 ---
Subject: Bug 16787

Author: sayle
Date: Fri Feb 17 01:13:38 2006
New Revision: 72

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=72
Log:
2006-02-16  Roger Sayle  [EMAIL PROTECTED]
R. Scott Bailey  [EMAIL PROTECTED]
Bill Northcott  [EMAIL PROTECTED]

PR bootstrap/16787
* floatformat.c: Include float.h where available.
(NAN): Use value of DBL_QNAN if defined, and NAN isn't.


Modified:
branches/gcc-3_4-branch/libiberty/ChangeLog
branches/gcc-3_4-branch/libiberty/floatformat.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16787



[Bug tree-optimization/26304] [4.2 Regression] 25_algorithms/prev_permutation/1.cc on powerpc{64,}-linux and powerpc-darwin

2006-02-16 Thread pinskia at gcc dot gnu dot org


--- Comment #12 from pinskia at gcc dot gnu dot org  2006-02-17 01:17 
---
(In reply to comment #11)
 I've just checked in a patch which may (or may not) fix this problem;
 can you update your stor-layout.c and see if that change happens to
 fix this problem.

Nope, sorry it does not fix the problem:
-  if (ivtmp.60_19 != 4294967295) goto L5; else goto L13;
-
-L13:;
-  return;
+  goto bb 7 (L22);


+ivtmp.60_19: [0, 4]  EQUIVALENCES: { } (0 elements)

the C testcase (changing cassert to assert.h) fails the same way.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26304



[Bug bootstrap/16787] NAN constant (0.0/0.0) cannot be compiled by Tru64 cc

2006-02-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to work||4.0.3 4.1.0 4.2.0 3.4.6
   Target Milestone|4.0.3   |3.4.6


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16787



[Bug c++/11471] ICE on illegal use of typedef'd member class

2006-02-16 Thread jde at google dot com


--- Comment #6 from jde at google dot com  2006-02-17 01:23 ---
Using the source above, and gcc-4,[01], I at least get the error message, but
4.1 still dies...

gcc-4.0.1-glibc-2.3.2-i686-piii-linux-gnu-g++ -c main.cc
main.cc:7: error: ISO C++ forbids declaration of 'type' with no type
main.cc:7: confused by earlier errors, bailing out
[Does not core]

gcc-4.1-20050819-glibc-2.3.2-i686-piii-linux-gnu-g++ main.cc
main.cc:7: error: ISO C++ forbids declaration of 'type' with no type
main.cc:7: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://gcc.gnu.org/bugs.html for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11471



[Bug tree-optimization/26304] [4.2 Regression] 25_algorithms/prev_permutation/1.cc on powerpc{64,}-linux and powerpc-darwin

2006-02-16 Thread law at redhat dot com


--- Comment #13 from law at redhat dot com  2006-02-17 02:47 ---
Subject: Re:  [4.2 Regression]
25_algorithms/prev_permutation/1.cc on powerpc{64,}-linux and
powerpc-darwin

On Fri, 2006-02-17 at 01:17 +, pinskia at gcc dot gnu dot org wrote:
 
 --- Comment #12 from pinskia at gcc dot gnu dot org  2006-02-17 01:17 
 ---
 (In reply to comment #11)
  I've just checked in a patch which may (or may not) fix this problem;
  can you update your stor-layout.c and see if that change happens to
  fix this problem.
 
 Nope, sorry it does not fix the problem:
 -  if (ivtmp.60_19 != 4294967295) goto L5; else goto L13;
 -
 -L13:;
 -  return;
 +  goto bb 7 (L22);
 
 
 +ivtmp.60_19: [0, 4]  EQUIVALENCES: { } (0 elements)
 
 the C testcase (changing cassert to assert.h) fails the same way.
I'm pretty sure this is an SCEV problem.

scev_probably_wraps_p is returning false even though the loop
iteration variable clearly wraps.  The iteration variable will
have the values 4, 3, 2, 1, 0, 0x, then the loop terminates.

This in turn causes us to use the SCEV information to refine a
range improperly.

Someone who knows/understands the SCEV code should be assigned this
bug.

jeff


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26304



[Bug tree-optimization/26304] [4.2 Regression] 25_algorithms/prev_permutation/1.cc on powerpc{64,}-linux and powerpc-darwin

2006-02-16 Thread pinskia at gcc dot gnu dot org


--- Comment #14 from pinskia at gcc dot gnu dot org  2006-02-17 03:37 
---
Hmm, I wonder if the following loop in scev_probably_wraps_p is wrong.

  estimate_numbers_of_iterations_loop (loop);
  for (bound = loop-bounds; bound; bound = bound-next)
if (proved_non_wrapping_p (at_stmt, bound, type, valid_niter))
  return false;

it says that if one bounds does not wrap, then all variables asked about don't
which is not true.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26304



[Bug libfortran/26136] List directed input with underfilled (logicals) array read incorrectly

2006-02-16 Thread patchapp at dberlin dot org


--- Comment #15 from patchapp at dberlin dot org  2006-02-17 04:33 ---
Subject: Bug number PR26136

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-02/msg01387.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26136



[Bug libfortran/26331] New: two testsuite failures on i386-netbsdelf3.0

2006-02-16 Thread fxcoudert at gcc dot gnu dot org
gfortran.fortran-torture/execute/intrinsic_fraction_exponent.f90 and
gfortran.fortran-torture/execute/intrinsic_set_exponent.f90 fail at all
optimization levels on i386-netbsdelf3.0.

See http://gcc.gnu.org/ml/gcc-testresults/2006-02/msg00860.html.


-- 
   Summary: two testsuite failures on i386-netbsdelf3.0
   Product: gcc
   Version: 4.2.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: libfortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: fxcoudert at gcc dot gnu dot org
 GCC build triplet: i386-netbsdelf3.0
  GCC host triplet: i386-netbsdelf3.0
GCC target triplet: i386-netbsdelf3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26331



<    1   2