Compare commits
1 Commits
374b6c686b
...
ebc5a1cbc1
| Author | SHA1 | Date | |
|---|---|---|---|
| ebc5a1cbc1 |
@@ -136,8 +136,7 @@ static void replaceArrayRec(SgSymbol* arr, SgSymbol* replace_by, SgExpression* e
|
||||
if (!exp)
|
||||
return;
|
||||
|
||||
if (exp->variant() != STMT_STR && exp->symbol() &&
|
||||
exp->symbol()->identifier() &&
|
||||
if (isArrayRef(exp) &&
|
||||
strcmp(exp->symbol()->identifier(), arr->identifier()) == 0)
|
||||
{
|
||||
has_read |= from_read;
|
||||
|
||||
Reference in New Issue
Block a user