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

[REDO] Use gcc12 -ftrivial-auto-var-init=pattern in debug builds

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 19
    • infrastructure
    • Fix failed

      gcc12 has added -ftrivial-auto-var-init=<choice>, which specifies how automatic variables without an initializer should be initialized. The default choice is "uninitialized", which is the default C/C++ behavior. Alternatives are "pattern" and "zero". For improved debugging, helping to detect uninitialized uses, the "pattern" choice should be used.

            ihse Magnus Ihse Bursie
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: