Skip to content

Arg x doesn't escape in BB entry #40

@apaznikov

Description

@apaznikov

Arg x doesn't escape in BB entry in func_with_ptr_arg

static void func_with_ptr_arg(int *x) {
  if (rand())
    GPtr = x;
}

void caller() {
  int x;
  func_with_ptr_arg(&x);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions