Mainline fix [JDK-8373248](https://bugs.openjdk.org/browse/JDK-8373248) added additional code to verify that a `CastPPNode` does not change the type and we now assert when casting the value of an unsafe flat access to the proper type. The `CastPP` should be replaced by a `CheckCastPP`.
Thanks, Tobias --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - JDK-8382504 Changes: https://git.openjdk.org/valhalla/pull/2425/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2425&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8382504 Stats: 13 lines in 3 files changed: 0 ins; 12 del; 1 mod Patch: https://git.openjdk.org/valhalla/pull/2425.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2425/head:pull/2425 PR: https://git.openjdk.org/valhalla/pull/2425
