Commit 52861d39 authored by Botond Baranyi's avatar Botond Baranyi
Browse files

Fixed code generation issue with integer literal -2147483648 (bug 552492)



Change-Id: I1994d4dec2aef2967febad7298b492bb7634ef97
Signed-off-by: Botond Baranyi's avatarBotond Baranyi <botond.baranyi@ericsson.com>
parent 4a9413be
......@@ -15223,7 +15223,7 @@ void Value::chk_expr_operand_execute_refd(Value *v1,
// these values cannot occur during code generation
FATAL_ERROR("Value::has_single_expr()");
case V_INT:
return u.val_Int->is_native_fit();
return u.val_Int->is_native_fit() && u.val_Int->get_val() != -2147483648;
case V_NOTUSED:
// should only happen when generating code for an unbound record/set value
return false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment