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

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

    XMLWordPrintableJSON

Details

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

    Description

      The warning below shows up when linking with the -ipo option:

      aCC -AA +nostl -Wl,+s  -mt +DD64 +O2 -ipo +tls=static  +Z -b +DD64 assert.o ... collate.o ... wctype.o -o libstd12D.sl.4.2.2 
      "/amd/devco/sebor/stdcxx-4.2.x/src/collate.cpp", line 471, procedure do_compare:
       warning #20200-D: Potential null pointer dereference through  return of call to __rw::__rw_get_facet_data is detected (null definition:/amd/devco/sebor/stdcxx-4.2.x/src/collate.cpp, line 987)
      ...
      

      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
                1h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h