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

ubsan ppc64le: c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'

    XMLWordPrintable

Details

    • b25
    • ppc
    • linux

    Backports

      Description

        When using ubsan on Linux ppc64le we run into some overflows like this one

        c1_LIRGenerator_ppc.cpp:581:21: runtime error: signed integer overflow: 9223372036854775807 + 1 cannot be represented in type 'long int'

        Seems we have to add casts to get defined behavior.
        There are similar places in the coding as well.

        Attachments

          Issue Links

            Activity

              People

                mbaesken Matthias Baesken
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: