You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@stdcxx.apache.org by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org> on 2008/03/17 20:14:24 UTC
[jira] Created: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out of
bound access in 25.random.shuffle.cpp
[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
Fix For: 4.2.1
"/amd/devco/scottz/stdcxx/4.2.x/tests/containers/23.bitset.cpp", line 127, procedure test_operators: warning #20206-D: Out of bound access (In expression "memmove(&(&__tempVar_232)->bits_[30]+1 - (long long)(31 - n),&(&__tempVar_232)->bits_[(long long)(30 - n)]+1 - (long long)(31 - n),31 - n)", &(&__tempVar_232)->bits_[30]+1 - (long long)(31 - n) (type: char [32]) (defined by (&__tempVar_232)->bits_) has byte range [0 .. 31], writing byte range [0 .. 60].)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out
of bound access in 25.random.shuffle.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Resolved: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out
of bound access in 25.random.shuffle.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Travis Vitek resolved STDCXX-783.
---------------------------------
Resolution: Fixed
Committed to trunk in [r647225|http://svn.apache.org/viewcvs?view=rev&rev=647225]
Will close issue when merged to 4.2.x.
> [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.
[jira] Commented: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out
of bound access in 25.random.shuffle.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587397#action_12587397 ]
Travis Vitek commented on STDCXX-783:
-------------------------------------
I find it interesting that the warning doesn't show up in an 11S build, but it does show up for a 12d build.
{noformat}
$ gmake 25.random.shuffle.o
aCC -c -D_RWSTDDEBUG -I/amd/devco/vitek/stdcxx/trunk/include -I/build/vitek/11S/include -I/amd/devco/vitek/stdcxx/trunk/tests/include \
-AA -g +d +DD64 +w \
+W392,655,684,818,819,849 \
+W2193,2236,2261,2340,2401,2487 \
+W4227,4229,4231,4235,4237,4249 \
+W4255,4272,4284,4285,4286,4296,4297 \
+W3348 \
/amd/devco/vitek/stdcxx/trunk/tests/algorithms/25.random.shuffle.cpp
"/amd/devco/vitek/stdcxx/trunk/include/algorithm.cc", line 612: remark #4271-D:
type conversion may lose sign
const _DiffT __rndoff (__rand (__limit));
^
detected during instantiation of "void
std::random_shuffle(_RandomAccessIter, _RandomAccessIter,
_RandomNumberGenerator &) [with
_RandomAccessIter=RandomAccessIter<assign<base<2>>>,
_RandomNumberGenerator=func<const size_t>]" at line 49 of
"/amd/devco/vitek/stdcxx/trunk/tests/algorithms/25.random.shuffle.cpp"
{noformat}
{noformat}
gmake 25.random.shuffle.o
aCC -c -mt -I/amd/devco/vitek/stdcxx/trunk/include -I/build/vitek/12d/include -I/amd/devco/vitek/stdcxx/trunk/tests/include \
-AA +O2 +w \
+W392,655,684,818,819,849 \
+W2193,2236,2261,2340,2401,2487 \
+W4227,4229,4231,4235,4237,4249 \
+W4255,4272,4284,4285,4286,4296,4297 \
+W3348 \
/amd/devco/vitek/stdcxx/trunk/tests/algorithms/25.random.shuffle.cpp
"/amd/devco/vitek/stdcxx/trunk/include/algorithm.cc", line 612: remark #4271-D:
type conversion may lose sign
const _DiffT __rndoff (__rand (__limit));
^
detected during instantiation of "void
std::random_shuffle(_RandomAccessIter, _RandomAccessIter,
_RandomNumberGenerator &) [with
_RandomAccessIter=RandomAccessIter<assign<base<2>>>,
_RandomNumberGenerator=func<const size_t>]" at line 49 of
"/amd/devco/vitek/stdcxx/trunk/tests/algorithms/25.random.shuffle.cpp"
"/amd/devco/vitek/stdcxx/trunk/tests/algorithms/25.random.shuffle.cpp", line 317, procedure test_random_shuffle: warning #20206-D:
Out of bound access (In expression "&array[(int)i]", array "array"
[/amd/devco/vitek/stdcxx/trunk/tests/algorithms/25.random.shuffle.cpp
:237] (type: int [256]) has element range [0 .. 255], reading
element range [0 .. 256].)
{noformat}
> [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
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> 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.
[jira] Resolved: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out
of bound access in 25.random.shuffle.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Travis Vitek resolved STDCXX-783.
---------------------------------
Resolution: Fixed
Committed to trunk in [r646567|http://svn.apache.org/viewcvs?view=rev&rev=646567].
Will close issue after merge to 4.2.x.
> [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
>
> 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.
[jira] Reopened: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out
of bound access in 25.random.shuffle.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Travis Vitek reopened STDCXX-783:
---------------------------------
It would really help if I had tested this with the correct build. The warning is still there, but now it is bogus. Reopening to fix again.
> [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
>
> 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.
[jira] Updated: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out of
bound access in 25.random.shuffle.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Commented: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out
of bound access in 25.random.shuffle.cpp
Posted by "Farid Zaripov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589932#action_12589932 ]
Farid Zaripov commented on STDCXX-783:
--------------------------------------
Merged in 4.2.x branch thus: http://svn.apache.org/viewvc?view=rev&revision=648752
> [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.
[jira] Issue Comment Edited: (STDCXX-783) [HP aCC 6.16] warning
#20206-D: Out of bound access in 25.random.shuffle.cpp
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ 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.
[jira] Updated: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out of
bound access in 25.random.shuffle.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-783:
------------------------------------
Description:
"/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].)
was:
"/amd/devco/scottz/stdcxx/4.2.x/tests/containers/23.bitset.cpp", line 127, procedure test_operators: warning #20206-D: Out of bound access (In expression "memmove(&(&__tempVar_232)->bits_[30]+1 - (long long)(31 - n),&(&__tempVar_232)->bits_[(long long)(30 - n)]+1 - (long long)(31 - n),31 - n)", &(&__tempVar_232)->bits_[30]+1 - (long long)(31 - n) (type: char [32]) (defined by (&__tempVar_232)->bits_) has byte range [0 .. 31], writing byte range [0 .. 60].)
> [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
> Fix For: 4.2.1
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> "/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.
[jira] Updated: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out of
bound access in 25.random.shuffle.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-783:
------------------------------------
Description:
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].)
was:
"/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].)
add compile line to description
> [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
> Fix For: 4.2.1
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> 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.
[jira] Assigned: (STDCXX-783) [HP aCC 6.16] warning #20206-D: Out
of bound access in 25.random.shuffle.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Travis Vitek reassigned STDCXX-783:
-----------------------------------
Assignee: Travis Vitek
> [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
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> 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.