Branch: Tag:

2018-02-13

2018-02-13 15:05:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler: Apply of OPT_EXTERNAL_DEPEND results in OPT_NOT_CONST.

Second try at attempting to fix [Pike-63].

5:   \*/   /**/   #include "global.h" - RCSID("$Id: las.c,v 1.231 2001/01/12 02:28:06 mast Exp $"); + RCSID("$Id$");      #include "language.h"   #include "interpret.h"
909:    }    res->node_info |= OPT_APPLY;    if(b) res->tree_info |= b->tree_info; +  if (res->node_info & OPT_EXTERNAL_DEPEND) { +  /* Applying something that has external dependencies +  * renders a result that isn't constant. +  */ +  res->tree_info |= OPT_NOT_CONST;    } -  +  }    break;       case F_POP_VALUE: