[
https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Travis Vitek updated STDCXX-783:
--------------------------------
Attachment: stdcxx-783.patch
Attaching a patch. I haven't committed this fix because it isn't really
necessary. All it does is avoid a bogus cadvise warning. It has the side effect
that it removes a trace if you run the test with --trace.
> [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: 2h
> 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.