This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/26006] New: tr1/8_c_compatibility/cfenv/functions.cc (test for excess errors) fails with pre-C99-TC1 libc
- From: "jsm28 at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2006 17:20:51 -0000
- Subject: [Bug libstdc++/26006] New: tr1/8_c_compatibility/cfenv/functions.cc (test for excess errors) fails with pre-C99-TC1 libc
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
FAIL: tr1/8_c_compatibility/cfenv/functions.cc (test for excess errors)
appeared on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11 on mainline,
presumably at the time the new test was added. The issue is that C99 TC1
changed some of the <fenv.h> functions from returning void to returning int,
and this test uses the return values of those functions, but HP-UX 11.11 has
the return types from the original pre-TC1 C99. The simplest fix may be to
disable use of these functions unless they have the TC1 return types.
--
Summary: tr1/8_c_compatibility/cfenv/functions.cc (test for
excess errors) fails with pre-C99-TC1 libc
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jsm28 at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26006