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:18:34 UTC

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

[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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Sebor updated STDCXX-706:
--------------------------------

    Fix Version/s:     (was: 4.2.1)
                   4.2.2

Deferred until 4.2.2.

> [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: Eric Lemings
>            Priority: Minor
>             Fix For: 4.2.2
>
>   Original Estimate: 2h
>          Time Spent: 0.52h
>  Remaining Estimate: 4h
>
> 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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/STDCXX-706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Assignee: Eric Lemings  (was: Martin Sebor)

Reassigned to Brad.

> [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: Eric Lemings
>            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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
     [ 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  (was: Eric Lemings)

> [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.2
>
>   Original Estimate: 2h
>          Time Spent: 0.52h
>  Remaining Estimate: 4h
>
> 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.


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

Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/STDCXX-706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561948#action_12561948 ] 

Martin Sebor commented on STDCXX-706:
-------------------------------------

The [18.numeric.special.int test|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/support/18.limits.traps.cpp] also fails 13 assertions, most likely for the same reason:

{noformat}
$ ./18.numeric.special.int -q
# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<bool>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<char>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<signed char>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<unsigned char>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<short>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<unsigned short>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<int>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<unsigned int>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<long>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<unsigned long>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<_RWSTD_LONG_LONG>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<unsigned _RWSTD_LONG_LONG>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# ASSERTION (S7) (4 lines):
# TEXT: std::numeric_limits<wchar_t>::traps == 0, got true
# CLAUSE: numeric.special
# LINE: 587

# +-----------------------+----------+----------+----------+
# | DIAGNOSTIC            |  ACTIVE  |   TOTAL  | INACTIVE |
# +-----------------------+----------+----------+----------+
# | (S1) INFO             |       29 |       29 |       0% |
# | (S7) ASSERTION        |       13 |      434 |      97% |
# +-----------------------+----------+----------+----------+
{noformat}

> [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.