[constfold] more aggressive constfolding in dead branches of global initializer
otherwise, we might end up with an improper crash of cabs2cil
Showing
- src/kernel_internals/typing/cabs2cil.ml 4 additions, 2 deletionssrc/kernel_internals/typing/cabs2cil.ml
- tests/syntax/compile_constant.c 2 additions, 0 deletionstests/syntax/compile_constant.c
- tests/syntax/oracle/compile_constant.res.oracle 1 addition, 0 deletionstests/syntax/oracle/compile_constant.res.oracle
Loading
Please register or sign in to comment