Skip to content

Commit af79d4e

Browse files
authored
Merge pull request #3719 from tautschnig/ssa-field-sensitivity-l1
Ensure ssa_expr's l1-identifier is consistent with its identifier [blocks: #2574]
2 parents 6230d41 + cedceae commit af79d4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/util/ssa_expr.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ static void build_ssa_identifier_rec(
3232
build_ssa_identifier_rec(member.struct_op(), l0, l1, l2, os, l1_object_os);
3333

3434
os << '.' << member.get_component_name();
35+
l1_object_os << '.' << member.get_component_name();
3536
}
3637
else if(expr.id()==ID_index)
3738
{
@@ -41,6 +42,7 @@ static void build_ssa_identifier_rec(
4142

4243
const mp_integer idx = numeric_cast_v<mp_integer>(index.index());
4344
os << '[' << idx << ']';
45+
l1_object_os << '[' << idx << ']';
4446
}
4547
else if(expr.id()==ID_symbol)
4648
{

0 commit comments

Comments
 (0)