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

    • b25
    • ppc
    • linux

        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.

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

                Created:
                Updated:
                Resolved: