﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3178	Dead store elimination removes used statements in for-loops	Per Östlund	Per Östlund	"The dead store elimination removes statements from for-loops which are actually critical, which causes the compiler to silently change the behaviour of algorithms. Calling generateSeparateCode on InstSection in the attached file causes the last statement in the for-loop ({{{when_stmt_opt := SOME(when_stmt);}}}) in InstSection.instStatement to be removed.

This is done in Patterm.statementFindDeadStore."	defect	closed	critical	1.9.4	MetaModelica	trunk	fixed		
