aboutsummaryrefslogtreecommitdiffstats
path: root/riscV
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2021-05-02 17:14:38 +0200
committerXavier Leroy <xavier.leroy@college-de-france.fr>2021-05-02 17:14:38 +0200
commit38b0babd5a642cea8912524debc63edc67fda08b (patch)
tree2d9c96c67de83b769c9946036b036e9239f8a881 /riscV
parent2c47585b90858a6782b6e9a88efdb43368708429 (diff)
downloadcompcert-kvx-38b0babd5a642cea8912524debc63edc67fda08b.tar.gz
compcert-kvx-38b0babd5a642cea8912524debc63edc67fda08b.zip
Fix spurious error on initialization of struct with flexible array member
The following is correct but was causing a "wrong type for array initializer" fatal error. ``` struct s { int n; int d[]; }; void f(void) { struct s x = {0}; } ``` Co-authored-by: Michael Schmidt <github@mschmidt.me>
Diffstat (limited to 'riscV')
0 files changed, 0 insertions, 0 deletions