Skip to content

[spec] @safe code generated must not assume null dereference won't occur #4240

Open
@ntrel

Description

@ntrel
Contributor

Walter from https://forum.dlang.org/post/vv6s8p$lfh$1@digitalmars.com:

D relies on the null dereference not being "optimized away". Maybe there's a switch for that on ldc, there should be if there isn't one.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @ntrel

      Issue actions

        [spec] `@safe` code generated must not assume null dereference won't occur · Issue #4240 · dlang/dlang.org