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

Remove the flag -fsanitize=undefined for GCC 4.9 and later

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • infrastructure
    • None
    • GCC 4.9.2, Fedora 21

    • b42

        The flag -fsanitize=default is used if it is available (GCC 4.9 or later) to detect undefined behavior. Unfortunately, the implementation in GCC seems to have some bugs with GCC 4.9.2, see https://bugzilla.redhat.com/show_bug.cgi?id=1166173 for more details.

        Since the supported compiler at the moment is GCC 4.8.2, I suggest that we remove the flag and when we upgrade the supported compiler to GCC 4.9.X, then we can reevaluate whether we should use -fsanitize=default or not.

              Unassigned Unassigned
              ehelin Erik Helin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: