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

Fix concurrent unordered containers build on GCC14 #1397

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

kboyarinov
Copy link
Contributor

Description

GCC14 still produces warnings for incorrect destructor or out-of-boundaries access while destructing the dummy_node since the correct destruction branch would be selected in run-time.
Adding volatile to the value_node pointer still fixes the issue, so this PR prologues the workaround until GCC15 release.

Fixes # - issue number(s) if exists

Type of change

Choose one or multiple, leave empty if none of the other choices apply

Add a respective label(s) to PR if you have permissions

  • bug fix - change that fixes an issue
  • new feature - change that adds functionality
  • tests - change in tests
  • infrastructure - change in infrastructure and CI
  • documentation - documentation update

Tests

  • added - required for new features and some bug fixes
  • not needed

Documentation

  • updated in # - add PR number
  • needs to be updated
  • not needed

Breaks backward compatibility

  • Yes
  • No
  • Unknown

Notify the following users

List users with @ to send notifications

Other information

Copy link
Contributor

@pavelkumbrasev pavelkumbrasev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@kboyarinov kboyarinov merged commit fdf1fdb into master Jun 10, 2024
21 of 22 checks passed
@kboyarinov kboyarinov deleted the dev/kboyarinov/fix-cumap-gcc14 branch June 10, 2024 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants