Allow self-referencing variables in 3.6.

Issue warning, do not exit.

See Redmine #4335 for discussion.