git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1715
4a8a32a2-be11-0410-ad9d-
d568d2c75423
/* now check if it is the return from
a function call */
if (dic->op == CALL || dic->op == PCALL) {
/* now check if it is the return from
a function call */
if (dic->op == CALL || dic->op == PCALL) {
- if (ic->op != SEND && ic->op != RETURN) {
+ if (ic->op != SEND && ic->op != RETURN &&
+ !POINTER_SET(ic) && !POINTER_GET(ic)) {
OP_SYMBOL (op)->ruonly = 1;
return dic;
}
OP_SYMBOL (op)->ruonly = 1;
return dic;
}
a function call */
if (dic->op == CALL || dic->op == PCALL)
{
a function call */
if (dic->op == CALL || dic->op == PCALL)
{
- if (ic->op != SEND && ic->op != RETURN)
+ if (ic->op != SEND && ic->op != RETURN &&
+ !POINTER_SET(ic) && !POINTER_GET(ic))
{
OP_SYMBOL (op)->ruonly = 1;
return dic;
{
OP_SYMBOL (op)->ruonly = 1;
return dic;
a function call */
if (dic->op == CALL || dic->op == PCALL)
{
a function call */
if (dic->op == CALL || dic->op == PCALL)
{
- if (ic->op != SEND && ic->op != RETURN)
+ if (ic->op != SEND && ic->op != RETURN &&
+ !POINTER_SET(ic) && !POINTER_GET(ic))
{
OP_SYMBOL (op)->ruonly = 1;
return dic;
{
OP_SYMBOL (op)->ruonly = 1;
return dic;
/* now check if it is the return from a function call */
if (dic->op == CALL || dic->op == PCALL)
{
/* now check if it is the return from a function call */
if (dic->op == CALL || dic->op == PCALL)
{
- if (ic->op != SEND && ic->op != RETURN)
+ if (ic->op != SEND && ic->op != RETURN &&
+ !POINTER_SET(ic) && !POINTER_GET(ic))
{
OP_SYMBOL (op)->ruonly = 1;
return dic;
{
OP_SYMBOL (op)->ruonly = 1;
return dic;