stdcxx-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott (Yu) Zhong (JIRA)" <j...@apache.org>
Subject [jira] Updated: (STDCXX-761) [HP aCC 6.16] Out of bound access in new.cpp
Date Mon, 31 Mar 2008 05:32:25 GMT

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

Scott (Yu) Zhong updated STDCXX-761:
------------------------------------

    Description: 
When compiled with HP aCC 6.16 +w +O, the test driver source file [new.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/src/new.cpp]
produces the warnings below:

{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/src/new.cpp

aCC -c     -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/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 +W4296 +W4297 +W3348
\
    $(TOPDIR)/tests/src/new.cpp
"$(TOPDIR)/tests/src/new.cpp", line 629, procedure rwt_checkpoint: warning #20206-D: Out of
bound access (In expression "(unsigned long long*)(&diff)->new_calls_+i", (&diff)->new_calls_
(type: unsigned long long [2]) has byte range [0 .. 15], writing byte range [0 .. 127].)
{noformat}

  was:
When compiled with HP aCC 6.16 +w +O, the test driver source file [new.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/src/new.cpp]
produces the warnings below:

{noformat}
aCC -c     -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/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 +W4296 +W4297 +W3348
\
    $(TOPDIR)/tests/src/new.cpp
"$(TOPDIR)/tests/src/new.cpp", line 629, procedure rwt_checkpoint: warning #20206-D: Out of
bound access (In expression "(unsigned long long*)(&diff)->new_calls_+i", (&diff)->new_calls_
(type: unsigned long long [2]) has byte range [0 .. 15], writing byte range [0 .. 127].)
{noformat}


add compile line to description

> [HP aCC 6.16] Out of bound access in new.cpp
> --------------------------------------------
>
>                 Key: STDCXX-761
>                 URL: https://issues.apache.org/jira/browse/STDCXX-761
>             Project: C++ Standard Library
>          Issue Type: Sub-task
>          Components: Test Driver
>    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: Eric Lemings
>             Fix For: 4.2.1
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> When compiled with HP aCC 6.16 +w +O, the test driver source file [new.cpp|http://svn.apache.org/repos/asf/stdcxx/trunk/tests/src/new.cpp]
produces the warnings below:
> {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/src/new.cpp
> aCC -c     -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/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 +W4296 +W4297
+W3348 \
>     $(TOPDIR)/tests/src/new.cpp
> "$(TOPDIR)/tests/src/new.cpp", line 629, procedure rwt_checkpoint: warning #20206-D:
Out of bound access (In expression "(unsigned long long*)(&diff)->new_calls_+i", (&diff)->new_calls_
(type: unsigned long long [2]) has byte range [0 .. 15], writing byte range [0 .. 127].)
> {noformat}

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