Skip to content

Conversation

@SparkiDev
Copy link
Contributor

Description

Undefined behaviour when there are multiple volatile variables accessed in the one C statement.
Changes to introduce non-volatile temporaries, split statement or make variable non-volatile.

Fixes zd#20994

Testing

Standard configuration.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@SparkiDev SparkiDev self-assigned this Jan 6, 2026
Undefined behaviour when there are multiple volatile variables accessed
in the one C statement.
Changes to introduce non-volatile temporaries, split statement or make
variable non-volatile.
@SparkiDev SparkiDev force-pushed the volatile_multi_statement branch from 0ed4934 to 1aa79af Compare January 13, 2026 05:09
@SparkiDev
Copy link
Contributor Author

retest this please

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.

1 participant