You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2008/01/24 06:20:35 UTC

[jira] Assigned: (STDCXX-706) [HP aCC 6.15/HP-UX/IPF] 18.limits.traps fails most assertions

     [ https://issues.apache.org/jira/browse/STDCXX-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor reassigned STDCXX-706:
-----------------------------------

    Assignee: Martin Sebor

> [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
>            Assignee: Martin Sebor
>            Priority: Minor
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>          Time Spent: 0.5h
>  Remaining Estimate: 1.5h
>
> 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.