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] Commented: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out of bound access in 25.random.shuffle.cpp
Date Thu, 10 Apr 2008 03:46:04 GMT

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

Martin Sebor commented on STDCXX-783:
-------------------------------------

So what about [r646567|http://svn.apache.org/viewcvs?view=rev&rev=646567]?

Also, if the warning is bogus, have you managed to reproduce it in a small test case we could
send to HP?

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