Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- sparse-llvm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sparse-llvm.c b/sparse-llvm.c index 9a32efe36..206fac227 100644 --- a/sparse-llvm.c +++ b/sparse-llvm.c @@ -1197,6 +1197,9 @@ static LLVMValueRef output_data(LLVMModuleRef module, struct symbol *sym) case EXPR_VALUE: initial_value = LLVMConstInt(symbol_type(sym), initializer->value, 1); break; + case EXPR_FVALUE: + initial_value = LLVMConstReal(symbol_type(sym), initializer->fvalue); + break; case EXPR_SYMBOL: { struct symbol *sym = initializer->symbol; -- 2.14.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html