RFR: 8351154: Use -ftrivial-auto-var-init=pattern for clang too

Magnus Ihse Bursie ihse at openjdk.org
Tue Mar 4 14:55:58 UTC 2025


On Tue, 4 Mar 2025 11:31:03 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> This is a trivial (no pun intended) follow-up to [JDK-8345627](https://bugs.openjdk.org/browse/JDK-8345627), which just enables the -ftrivial-auto-var-init=pattern on debug builds for clang too. In contrast to gcc, the clang option did not trigger any additional warnings, so it is just about enabling the flag for debug builds.

@MBaesken Can you or your colleagues check that this works on AIX?

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

PR Comment: https://git.openjdk.org/jdk/pull/23892#issuecomment-2697918265


More information about the build-dev mailing list