Skip to content
Snippets Groups Projects
Commit 0a7b6097 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[Cabs2cil] avoid more crashes due to large array initializer

Note: trying to compile the initializer with gcc/CompCert likely results in
'no space left on device'. Clang 12 reports an unexpected warning
("initializer overrides prior initialization of this subobject"), and some
tests indicate it actually replaces index 72057594037927936 with 0, which would
explain why it compiles. Removing a digit from the index, for instance, results
in a similar issue as GCC/CompCert (except that Clang starts consuming all RAM
instead of simply disk space).
parent c4c8bf1a
No related branches found
No related tags found
No related merge requests found
Showing
with 107 additions and 63 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment