RFR: JDK-8294902: Undefined Behavior in C2 regalloc with null references [v6]

Fei Yang fyang at openjdk.org
Sat Dec 3 04:25:59 UTC 2022


On Fri, 2 Dec 2022 18:12:21 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> This restriction in C++ is unnecessary, really, since AFAIK this works on all implementations.
>
> This seems to work on GCCs 9..12 in {x86_64, x86_32, aarch64}.

FYI: I have verified this also works with GCC version 11.3.0 on linux-riscv64 platform.

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

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


More information about the hotspot-dev mailing list