[HP aCC 6.15/HP-UX/IPF] 18.limits.traps fails most assertions
-------------------------------------------------------------

                 Key: STDCXX-706
                 URL: https://issues.apache.org/jira/browse/STDCXX-706
             Project: C++ Standard Library
          Issue Type: Bug
          Components: Tests
    Affects Versions: trunk
         Environment: HP aCC 6.15/HP-UX/IPF
            Reporter: Martin Sebor
            Priority: Minor
             Fix For: 4.2.1


When compiled with HP aCC 6 on HP-UX/IPF with optimization on, the test 
[18.limits.traps|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/support/18.limits.traps.cpp]
  test fails 13 out of 16 assertions. Suspect a problem in the test since the 
library produces consistent results irrespective of optimization but the test 
expects different results depending on whether optimization is enabled or not.

{noformat}
$ ./18.limits.traps -q
# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<bool>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 174

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<char>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 177

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<signed char>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 178

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<unsigned char>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 179

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<short>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 181

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<unsigned short>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 182

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<int>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 183

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<unsigned int>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 184

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<long>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 185

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<unsigned long>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 186

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<long long>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 189

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<unsigned long long>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 190

# ASSERTION (S7) (4 lines):
# TEXT: numeric_limits<wchar_t>::traps == false, got true
# CLAUSE: lib.numeric.limits.members
# LINE: 194

# +-----------------------+----------+----------+----------+
# | DIAGNOSTIC            |  ACTIVE  |   TOTAL  | INACTIVE |
# +-----------------------+----------+----------+----------+
# | (S1) INFO             |       17 |       17 |       0% |
# | (S7) ASSERTION        |       13 |       16 |      18% |
# +-----------------------+----------+----------+----------+
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to