﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4952	Remove obsolete removeEqualFunctionCalls backend module	Francesco Casella	Lennart Ochel	"The {{{removeEqualFunctionCalls}}} module is currently active by default in the [https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/omchelptext.html#omcflag-preoptmodules preOpt modules]. It detects patterns like
{{{
a = f(b)
c = f(b)
}}}
and turns them into
{{{
a = f(b)
c = a
}}}

The {{{wrapFunctionCalls}}} method, which assigns all function calls to cse variables, has a wider scope and in fact makes the {{{removeEqualFunctionCalls}}} method obsolete.

I would suggest to remove the latter for good.
"	defect	assigned	high		Backend				
