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

qmlsc dead code analysis is incomplete

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.6
    • 6.5
    • QML: Compiler

    Description

      The example from QTBUG-109196 shows a miscompilation that's ultimately due to a missing setHasSideEffects(). However, the assumption that the StoreElement there has no side effects should have made the whole function dead code. It still generates, some code, though.

      Attachments

        Issue Links

          Activity

            People

              qtqmlteam Qt Qml Team User
              ulherman Ulf Hermann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: