Branch: Tag:

2018-02-13

2018-02-13 14:51:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert "Compiler: Reduce constant folding of '.'."

This change had several unintended consequences.

This reverts commit e86ee2f842b5cbe1ef56104f7104a1dec944dbc1.

1617:       check_tree(n,0);    -  if ((!is_const(n) || (n->tree_info & OPT_EXTERNAL_DEPEND)) && -  !TEST_COMPAT(7, 6)) -  { +  if (!is_const(n) && !TEST_COMPAT(7, 6)) {    /* Index dynamically. */    return mknode(F_INDEX, copy_node(n), mkstrnode(id));    }