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:12:24 UTC
[jira] Created: (STDCXX-782) [HP aCC 6.16] warning #20206-D: Out of
bound access in 23.bitset.cpp
[HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp
--------------------------------------------------------------------
Key: STDCXX-782
URL: https://issues.apache.org/jira/browse/STDCXX-782
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/include/rw/_traits.h", line 295, procedure main: warning #20206-D: Out of bound access (In expression "&(&std::basic_string<int, std::char_traits<int>, std::allocator<int>>::_C_null_ref)-><compiler generated undef>_0+1", &(&std::basic_string<int, std::char_traits<int>, std::allocator<int>>::_C_null_ref)-><compiler generated undef>_0 (type: struct __rw::__string_ref<std::basic_string<int, std::char_traits<int>, std::allocator<int>>::value_type, std::basic_string<int, std::char_traits<int>, std::allocator<int>>::traits_type, std::basic_string<int, std::char_traits<int>, std::allocator<int>>::allocator_type> ) has byte range [0 .. 23], reading byte range [24 .. 47].)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (STDCXX-782) [HP aCC 6.16] warning #20206-D: Out of
bound access in 23.bitset.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-782:
------------------------------------
Description:
{no format}
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/containers/23.bitset.cpp
"/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].)
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].)
add compile line to description
> [HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp
> --------------------------------------------------------------------
>
> Key: STDCXX-782
> URL: https://issues.apache.org/jira/browse/STDCXX-782
> 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
>
> {no format}
> 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/containers/23.bitset.cpp
> "/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] Updated: (STDCXX-782) [HP aCC 6.16] warning #20206-D: Out of
bound access in 23.bitset.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Travis Vitek updated STDCXX-782:
--------------------------------
Priority: Minor (was: Major)
Deferred to 4.2.2
> [HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp
> --------------------------------------------------------------------
>
> Key: STDCXX-782
> URL: https://issues.apache.org/jira/browse/STDCXX-782
> 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
> Priority: Minor
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> {noformat}
> 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/containers/23.bitset.cpp
> "/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].)
> {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-782) [HP aCC 6.16] warning #20206-D: Out of
bound access in 23.bitset.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-782:
------------------------------------
Description:
{noformat}
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/containers/23.bitset.cpp
"/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].)
{noformat}
was:
{noformat}
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/containers/23.bitset.cpp
"/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].)
{noformat}
> [HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp
> --------------------------------------------------------------------
>
> Key: STDCXX-782
> URL: https://issues.apache.org/jira/browse/STDCXX-782
> 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
>
> {noformat}
> 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/containers/23.bitset.cpp
> "/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].)
> {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-782) [HP aCC 6.16] warning #20206-D: Out of
bound access in 23.bitset.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-782:
------------------------------------
Description:
{noformat}
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/containers/23.bitset.cpp
"/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].)
{noformat}
was:
{no format}
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/containers/23.bitset.cpp
"/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 23.bitset.cpp
> --------------------------------------------------------------------
>
> Key: STDCXX-782
> URL: https://issues.apache.org/jira/browse/STDCXX-782
> 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
>
> {noformat}
> 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/containers/23.bitset.cpp
> "/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].)
> {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-782) [HP aCC 6.16] warning #20206-D: Out
of bound access in 23.bitset.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12593466#action_12593466 ]
Travis Vitek commented on STDCXX-782:
-------------------------------------
I've reduced the issue to a relatively simple testcase for STDCXX-904, but I have no workaround.
> [HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp
> --------------------------------------------------------------------
>
> Key: STDCXX-782
> URL: https://issues.apache.org/jira/browse/STDCXX-782
> 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
> Priority: Minor
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> {noformat}
> 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/containers/23.bitset.cpp
> "/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].)
> {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-782) [HP aCC 6.16] warning #20206-D: Out
of bound access in 23.bitset.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Travis Vitek reassigned STDCXX-782:
-----------------------------------
Assignee: Travis Vitek
> [HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp
> --------------------------------------------------------------------
>
> Key: STDCXX-782
> URL: https://issues.apache.org/jira/browse/STDCXX-782
> 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
>
> {noformat}
> 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/containers/23.bitset.cpp
> "/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].)
> {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-782) [HP aCC 6.16] warning #20206-D: Out of
bound access in 23.bitset.cpp
Posted by "Travis Vitek (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Travis Vitek updated STDCXX-782:
--------------------------------
Fix Version/s: (was: 4.2.1)
4.2.2
Deferred to 4.2.2
> [HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp
> --------------------------------------------------------------------
>
> Key: STDCXX-782
> URL: https://issues.apache.org/jira/browse/STDCXX-782
> 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
> Priority: Minor
> Fix For: 4.2.2
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> {noformat}
> 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/containers/23.bitset.cpp
> "/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].)
> {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-782) [HP aCC 6.16] warning #20206-D: Out of
bound access in 23.bitset.cpp
Posted by "Scott (Yu) Zhong (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott (Yu) Zhong updated STDCXX-782:
------------------------------------
Description:
"/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].)
was:
"/amd/devco/scottz/stdcxx/4.2.x/include/rw/_traits.h", line 295, procedure main: warning #20206-D: Out of bound access (In expression "&(&std::basic_string<int, std::char_traits<int>, std::allocator<int>>::_C_null_ref)-><compiler generated undef>_0+1", &(&std::basic_string<int, std::char_traits<int>, std::allocator<int>>::_C_null_ref)-><compiler generated undef>_0 (type: struct __rw::__string_ref<std::basic_string<int, std::char_traits<int>, std::allocator<int>>::value_type, std::basic_string<int, std::char_traits<int>, std::allocator<int>>::traits_type, std::basic_string<int, std::char_traits<int>, std::allocator<int>>::allocator_type> ) has byte range [0 .. 23], reading byte range [24 .. 47].)
> [HP aCC 6.16] warning #20206-D: Out of bound access in 23.bitset.cpp
> --------------------------------------------------------------------
>
> Key: STDCXX-782
> URL: https://issues.apache.org/jira/browse/STDCXX-782
> 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/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.