diff options
author | Bernhard Schommer <bschommer@users.noreply.github.com> | 2018-04-19 08:49:18 +0200 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2018-04-19 09:49:18 +0300 |
commit | cdeece5cb3f3087baa641c41cc30ec34aa635edd (patch) | |
tree | 9d507df76f9bf861d073ea0dc843be361eeadcf0 /test/regression/expr5.c | |
parent | e79bc7f63db91866c2401c898cffe373125d46c6 (diff) | |
download | compcert-cdeece5cb3f3087baa641c41cc30ec34aa635edd.tar.gz compcert-cdeece5cb3f3087baa641c41cc30ec34aa635edd.zip |
Warn when volatile struct is assigned to a normal struct
Adds a warning when a volatile struct is assigned to another
struct, that the volatile qualifier is ignored in this context.
Example:
```
volatile struct S s;
struct S t;
t = s; // did not warn before; now it warns
s = t; // did warn already
```
Bug 23489
Diffstat (limited to 'test/regression/expr5.c')
0 files changed, 0 insertions, 0 deletions