Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8316893

Compile without -fno-delete-null-pointer-checks

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • None
    • infrastructure
    • b18

      Currently we are passing -fno-delete-null-pointer-checks command line flag when compiling with GCC (6+) or Clang (12+)

      This flag is necessary when the code assumes that `this` pointer of a C++ member function can be null. This is not permitted by C++ standard, which requires that `this` always contains a non-null pointer. The flag was added to enable non-compliant code to run.

      There are still some places that need fixing before this flag can be removed.

        There are no Sub-Tasks for this issue.

            djelinski Daniel Jelinski
            djelinski Daniel Jelinski
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: