RFR: 8351154: Use -ftrivial-auto-var-init=pattern for clang too
    Kim Barrett 
    kbarrett at openjdk.org
       
    Tue Mar  4 12:26:52 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.
Looks good to me, but you should get the aix-ppc folks to verify there aren't any
surprises for them from turning this on.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23892#pullrequestreview-2657253001
    
    
More information about the build-dev
mailing list