diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-12-05 03:36:26 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-12-10 23:26:23 +0100 |
| commit | c0123a2f917241e52c5844655abbd83f56ff1017 (patch) | |
| tree | b33eb179f2eb0f1dfc07a0e9f7c864398760f53f /inline.c | |
| parent | 9e1c8ec13686b2c9ca726066501f5988b78a0504 (diff) | |
| download | sparse-dev-c0123a2f917241e52c5844655abbd83f56ff1017.tar.gz | |
fix expansion of initializer (mismatching type)
Currently, the expansion of constant initializers is done
whenever the offset in the initializer match the one
being expanded.
However, it's not correct to do this expansion of an
integer with the initializer for a float and vice-versa.
Fix this by adding the corresponding tests to the other
tests of the value.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'inline.c')
0 files changed, 0 insertions, 0 deletions
