On Sat, 18 Feb 2023 18:21:44 GMT, Justin King <jck...@openjdk.org> wrote:

>> Update MSVC CFlags to be more consistent with other compilers. Also disables 
>> RTTI in a simliar manner to GCC/Clang for the JVM.
>
> Justin King has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Add comments clarifying -Oy-
>   
>   Signed-off-by: Justin King <jck...@google.com>

This change ensures MSVC is similar to GCC/Clang in terms of optimization 
flags, at least in spirit. It also applies the equivalent of 
`-fno-omit-frame-pointer` to MSVC (`-Oy-`). Binary size is not significantly 
affected. The main difference is MSVC will prefer speed over size when 
generating code, and will try to prefer intrinsic versions of builtins rather 
than emitting function calls.

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

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

Reply via email to