RFR: 8294314: Minimize disabled warnings in hotspot [v9]

Magnus Ihse Bursie ihse at openjdk.org
Wed Sep 28 07:41:57 UTC 2022


On Wed, 28 Sep 2022 04:37:03 GMT, Hao Sun <haosun at openjdk.org> wrote:

>> Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Don't need empty-body for ad_ppc.cpp now that it is globally disabled
>
> make/hotspot/lib/CompileJvm.gmk line 160:
> 
>> 158:     DISABLED_WARNINGS_gcc_javaClasses.cpp := misleading-indentation, \
>> 159:     DISABLED_WARNINGS_gcc_loopnode.cpp := sequence-point, \
>> 160:     DISABLED_WARNINGS_gcc_postaloc.cpp := address, \
> 
> Suggestion:
> 
>     DISABLED_WARNINGS_gcc_cgroupV1Subsystem_linux.cpp := address, \
>     DISABLED_WARNINGS_gcc_cgroupV2Subsystem_linux.cpp := address, \
>     DISABLED_WARNINGS_gcc_postaloc.cpp := address, \
> 
> 
> I got the following warning for `release` build with `gcc-12`. 
> 
> === Output from failing command(s) repeated here ===
> * For target hotspot_variant-server_libjvm_objs_cgroupV1Subsystem_linux.o:

I'm just curious: do you remember what you used to provoke this warning?

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

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


More information about the hotspot-dev mailing list