| ... | @@ -3951,6 +3951,7 @@ static void do_code_gen(CodeGen *g) { | ... | @@ -3951,6 +3951,7 @@ static void do_code_gen(CodeGen *g) { |
| 3951 | assert(const_val->special != ConstValSpecialRuntime); | 3951 | assert(const_val->special != ConstValSpecialRuntime); |
| 3952 | TypeTableEntry *var_type = g->builtin_types.entry_f128; | 3952 | TypeTableEntry *var_type = g->builtin_types.entry_f128; |
| 3953 | ConstExprValue coerced_value; | 3953 | ConstExprValue coerced_value; |
| | 3954 | coerced_value.special = ConstValSpecialStatic; |
| 3954 | coerced_value.type = var_type; | 3955 | coerced_value.type = var_type; |
| 3955 | coerced_value.data.x_f128 = bigfloat_to_f128(&const_val->data.x_bigfloat); | 3956 | coerced_value.data.x_f128 = bigfloat_to_f128(&const_val->data.x_bigfloat); |
| 3956 | LLVMValueRef init_val = gen_const_val(g, &coerced_value); | 3957 | LLVMValueRef init_val = gen_const_val(g, &coerced_value); |