stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out of bound access in 25.random.shuffle.cpp
Date Thu, 10 Apr 2008 04:02:05 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587477#action_12587477
] 

sebor edited comment on STDCXX-783 at 4/9/08 9:00 PM:
-------------------------------------------------------------

Never mind the test case, I've got one in the linked issue.
Caused by the compiler (cadvise) bug described in STDCXX-852.

      was (Author: sebor):
    Caused by the compiler (cadvise) bug described in STDCXX-852.
  
> [HP aCC 6.16] warning #20206-D: Out of bound access in 25.random.shuffle.cpp
> ----------------------------------------------------------------------------
>
>                 Key: STDCXX-783
>                 URL: https://issues.apache.org/jira/browse/STDCXX-783
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: Tests
>    Affects Versions: 4.2.0
>         Environment: $ uname -sr && aCC -V
> HP-UX B.11.31
> aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
>            Reporter: Scott (Yu) Zhong
>            Assignee: Travis Vitek
>             Fix For: 4.2.1
>
>         Attachments: stdcxx-783.patch
>
>   Original Estimate: 2h
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>
> aCC -c    -mt -I/amd/devco/scottz/stdcxx/4.2.x/include -I/build/scottz/12d/include -I/amd/devco/scottz/stdcxx/4.2.x/tests/include
 -AA  +O2  +DD64
>  +w +W392 +W655 +W684 +W818 +W819 +W849 +W2193 +W2236 +W2261 +W2340 +W2401 +W2487 +W4227
+W4229 +W4231 +W4235 +W4237 +W4249 +W4255 +W4272 +W4284 +W4285 +W4286   /amd/devco/scottz/stdcxx/4.2.x/tests/algorithms/25.random.shuffle.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/tests/algorithms/25.random.shuffle.cpp", line 317, procedure
test_random_shuffle: warning #20206-D: Out of bound access (In expression "&array[(long
long)i]", array "array" [/amd/devco/scottz/stdcxx/4.2.x/tests/algorithms/25.random.shuffle.cpp:237]
(type: int [256]) has element range [0 .. 255], reading element range [0 .. 256].)

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


Mime
View raw message