[ 
https://issues.apache.org/jira/browse/STDCXX-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Sebor resolved STDCXX-780.
---------------------------------

    Resolution: Fixed

Warning silenced in 
[r677791|http://svn.apache.org/viewvc?view=rev&revision=677791].

> [HP aCC 6.16] warning #20206-D: Out of bound access in rw_streambuf.h
> ---------------------------------------------------------------------
>
>                 Key: STDCXX-780
>                 URL: https://issues.apache.org/jira/browse/STDCXX-780
>             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: Martin Sebor
>             Fix For: 4.2.2
>
>   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/strings/21.string.io.cpp
> "/amd/devco/scottz/stdcxx/4.2.x/tests/include/rw_streambuf.h", line 471, 
> procedure setbuf: warning #20206-D: Out of bound access (In expression 
> "&this->ncalls_[(long long)<compiler temporary>_d]", this->ncalls_ (type: int 
> [11]) has element range [0 .. 10], writing element range [0 .. 31].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/include/rw_streambuf.h", line 473, 
> procedure setbuf: warning #20206-D: Out of bound access (In expression 
> "&this->ncalls_[(long long)<compiler temporary>_d]", this->ncalls_ (type: int 
> [11]) has element range [0 .. 10], reading element range [0 .. 31].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/include/rw_streambuf.h", line 480, 
> procedure setbuf: warning #20206-D: Out of bound access (In expression 
> "&this->throw_when_[(long long)<compiler temporary>_d]", this->throw_when_ 
> (type: int [11]) has element range [0 .. 10], reading element range [0 .. 
> 31].)
> "/amd/devco/scottz/stdcxx/4.2.x/tests/include/rw_streambuf.h", line 484, 
> procedure setbuf: warning #20206-D: Out of bound access (In expression 
> "&streambuf_func_names[(long long)<compiler temporary>_d]", array 
> "streambuf_func_names" 
> [/amd/devco/scottz/stdcxx/4.2.x/tests/include/rw_streambuf.h:60] (type: const 
> char* [11]) has element range [0 .. 10], reading element range [0 .. 31].)

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

Reply via email to