On Thu, 5 Dec 2024 22:31:11 GMT, Magnus Ihse Bursie <i...@openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 41c8971c
Author:    Magnus Ihse Bursie <i...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/41c8971cbcc1d281ffae907c952637ebff945ebb
Stats:     5 lines in 1 file changed: 5 ins; 0 del; 0 mod

8287122: Use gcc12 -ftrivial-auto-var-init=pattern in debug builds

Reviewed-by: erikj

-------------

PR: https://git.openjdk.org/jdk/pull/22587

Reply via email to