Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-132329

[Reg 6.8 -> 6.9] qmlcachegen miscompiles number coercions

    XMLWordPrintable

Details

    • 3d12a8317 (dev), 547169d0b (6.9)

    Description

      Consider the attached project. With 6.8 it outputs:

      qml: literals
      int 0
      int 56
      negative int -38
      qsizetype 0
      qsizetype 49
      qml: variable
      int 0
      qsizetype 0
      int 484
      negative int -484
      qsizetype 484
      

      With 6.9 it outputs:

      int 0
      int 56
      negative int -38
      qsizetype 0
      qsizetype 49
      qml: variable
      int 0
      qsizetype 0
      int 0
      negative int -484
      qsizetype 4647222234237108224
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ulherman Ulf Hermann
              ulherman Ulf Hermann
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes