Skip to content

Undefined Behavior fixes#3581

Merged
roystgnr merged 3 commits intolibMesh:develfrom
roystgnr:ub_fixes
Jun 12, 2023
Merged

Undefined Behavior fixes#3581
roystgnr merged 3 commits intolibMesh:develfrom
roystgnr:ub_fixes

Conversation

@roystgnr
Copy link
Copy Markdown
Member

This was what clang -fsanititze=undefined caught for me. One half-finished feature, but also one decade-old bug.

We'll see whether this also satisfies the new (currently optional-pass) -fsanitize=undefined CI recipe, and if so then we might stop making that optional.

roystgnr added 3 commits June 9, 2023 15:07
This was broken ten years ago and I never caught it until an -fsanitize
run.  We need to get the full -fsanitize, along with whatever -W option
would have caught this, into CI ASAP.
@moosebuild
Copy link
Copy Markdown

Job Coverage on c8d9fe5 wanted to post the following:

Coverage

Coverage did not change

Full coverage report

This comment will be updated on new commits.

@roystgnr roystgnr merged commit 30caa1f into libMesh:devel Jun 12, 2023
@roystgnr roystgnr deleted the ub_fixes branch June 12, 2023 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants