RFR: 8310948: Fix ignored-qualifiers warning in Hotspot
David Holmes
dholmes at openjdk.org
Wed Jun 28 12:22:02 UTC 2023
On Tue, 27 Jun 2023 12:22:43 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> warning: 'volatile' type qualifier on return type has no effect
Can't say that I understand that warning. If I pass in a volatile pointer and return the same pointer then I would not expect to lose the volatile aspect of it. @kbarrett can you explain this one to me?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14674#issuecomment-1611299893
More information about the build-dev
mailing list