Skip to content
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

COMP: Fix for gcc13.2 compiler test failures #173

Merged
merged 1 commit into from
May 3, 2024

Conversation

hjmjohnson
Copy link
Contributor

Three tests fail in ITK for Release and RelWithDebInfo builds on Ubuntu 24.04 with GCC 13.2:

itkGDCMLegacyMultiFrameTest (Failed)
itkGDCMImageReadWriteTest_MultiFrameMRIZSpacing (Failed)
itkGDCM_ComplianceTest_singlebit (Failed)

(Note: Debug builds do not fail these tests)

The initial review of the code did not indicate a problem, but it looks like perhaps an over-optimization that removes variables and causes the incorrect behavior to occur.

The function "FindDataElement" had duplicate code from "GetDataElement" so made "FindDataElement" use the "GetDataElement" working function.

Three tests fail in ITK for Release and RelWithDebInfo builds
on Ubuntu 24.04 with GCC 13.2:

```txt
itkGDCMLegacyMultiFrameTest (Failed)
itkGDCMImageReadWriteTest_MultiFrameMRIZSpacing (Failed)
itkGDCM_ComplianceTest_singlebit (Failed)
```

(Note: Debug builds do not fail these tests)

The initial review of the code did not indicate a problem, but it looks
like perhaps an over-optimization that removes variables and causes the
incorrect behavior to occur.

The function "FindDataElement" had duplicate code from "GetDataElement"
so made "FindDataElement" use the "GetDataElement" working function.
@hjmjohnson
Copy link
Contributor Author

@malaterre @hjmjohnson This is an upstream fix needed to keep inline with ITK fixes. See

InsightSoftwareConsortium/ITK@0ea2f6d

@malaterre malaterre merged commit cd45912 into malaterre:master May 3, 2024
3 checks passed
@malaterre
Copy link
Owner

very odd .. thanks anyway !

@hjmjohnson
Copy link
Contributor Author

@malaterre Thank you for the rapid response! Thank you for your continued support.

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