Skip to content

Fix offset detection in attr_subsys_construct #10343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ompi/attribute/attribute.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@ static attr_subsys_t *attr_subsys = NULL;
static unsigned int int_pos = 12345;
static unsigned int integer_pos = 12345;
static int attr_sequence;
static void *dummy = (void*)1;
static int *p = (void*)&dummy;

/*
* MPI attributes are *not* high performance, so just use a One Big Lock
Expand Down Expand Up @@ -574,8 +576,6 @@ int ompi_attr_put_ref(void)
static void attr_subsys_construct(attr_subsys_t *subsys)
{
int ret;
void *bogus = (void*) 1;
int *p = (int *) &bogus;

subsys->keyval_hash = OBJ_NEW(opal_hash_table_t);

Expand Down