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

2024-12-05 Thread Erik Joelsson
On Thu, 5 Dec 2024 22:31:11 GMT, Magnus Ihse Bursie wrote: > gcc12 has added -ftrivial-auto-var-init=, 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 "patte

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

2024-12-05 Thread Magnus Ihse Bursie
gcc12 has added -ftrivial-auto-var-init=, 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 uninitializ