Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.2.0
-
None
-
$ uname -sr && aCC -V
HP-UX B.11.31
aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]
Description
Compiling the indirect_array.cpp example with HP aCC 6.16 with optimization produces the following warning:
aCC -c -mt -I$(TOPDIR)/include -I$(BUILDDIR)/include -I$(TOPDIR)/examples/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 \ $(TOPDIR)/examples/manual/indirect_array.cpp "$(TOPDIR)/include/valarray", line 2305, procedure main: warning #20200-D: Potential null pointer dereference through __tmp is detected (null definition:$(TOPDIR)/include/rw/_array.h, line 137)
Attachments
Issue Links
- depends upon
-
STDCXX-793 [HP aCC 6.16] bogus warning #20200 on safe code with new expression
- Open