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

[HP aCC 6.15] warning #20200-D: potential null pointer dereference in locale_combine.cpp

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.2.1
    • 4.2.2
    • 22. Localization
    • None
    • HP aCC 6.16 with -ipo

    Description

      Here's another HP cadvise warning that shows up with the -ipo option. This one looks bogus – see STDCXX-764.

      aCC -AA +nostl -Wl,+s  -mt +DD64 +O2 -ipo +tls=static +Z -b +DD64 assert.o ... locale_combine.o ... wctype.o -o libstd12D.sl.4.2.2 
      ...
      "/amd/devco/sebor/stdcxx-4.2.x/src/locale_combine.cpp", line 511, procedure __rw::__rw_init_classic: warning #20200-D: Potential null pointer dereference through sep is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/src/locale_combine.cpp, line 505)
      
      "/amd/devco/sebor/stdcxx-4.2.x/src/locale_combine.cpp", line 533, procedure __rw::__rw_init_classic: warning #20200-D: Potential null pointer dereference through next is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/src/locale_combine.cpp, line 511)
      

      Attachments

        Activity

          People

            sebor Martin Sebor
            sebor Martin Sebor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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