Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-726 [HP aCC 6.16] many cadvise warnings
  3. STDCXX-759

[HP aCC 6.16] Out of bound access in 21.strings.cpp

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.2.1
    • 21. Strings
    • None
    • $ uname -sr && aCC -V
      HP-UX B.11.31
      aCC: HP C/aC++ B3910B A.06.16 [Nov 26 2007]

    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/src/21.strings.cpp

      "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 270, procedure _rw_sigcat: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)fid]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)
      "/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp", line 519, procedure rw_setvars: warning #20206-D: Out of bound access (In expression "&_rw_func_names[(long long)funcinx]", array "_rw_func_names" [/amd/devco/scottz/stdcxx/4.2.x/tests/src/21.strings.cpp:84] (type: const char* [46]) has element range [0 .. 45], reading element range [0 .. 63].)

      Attachments

        Issue Links

          Activity

            People

              sebor Martin Sebor
              scottz Scott (Yu) Zhong
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2h
                  2h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h