﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1870	Using fail() outside a match/matchcontinue causes a crash	adabe588@…	somebody	"If you call a function that fails If instead of calling `fail()` then the problem does not occur.

Example output:
{{{
Error: Error building simulator. Buildlog: gmake[2]: Entering directory `/Users/adam/exjobb/code/build/tests'
perl /Users/adam/exjobb/trunk/build/share/omc/scripts/convert_lines.pl List_intRangeStep.c List_intRangeStep.conv.c.tmp
gcc -I""/Users/adam/exjobb/trunk/build/include/omc""  -O0 -g -falign-functions -msse2 -mfpmath=sse  -c -o List_intRangeStep.o List_intRangeStep.conv.c
gcc -I""/Users/adam/exjobb/trunk/build/include/omc""  -O0 -g -falign-functions -msse2 -mfpmath=sse  -c -o List_intRangeStep_records.o List_intRangeStep_records.c
gcc -single_module -dynamiclib -flat_namespace -o List_intRangeStep.so List_intRangeStep.o List_intRangeStep_records.o  -I""/Users/adam/exjobb/trunk/build/include/omc""  -O0 -g -falign-functions -msse2 -mfpmath=sse  -L""/Users/adam/exjobb/trunk/build/lib/omc"" -lOpenModelicaRuntimeC  -lexpat -L/opt/local/lib  -lintl -liconv -fopenmp   -lpthread -lm
Undefined symbols for architecture x86_64:
  ""_fail"", referenced from:
      _omc_List_intRangeStep in List_intRangeStep.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
gmake[2]: *** [List_intRangeStep] Error 1
gmake[2]: Leaving directory `/Users/adam/exjobb/code/build/tests'
}}}
"	defect	closed	high	1.9.0	Code Generation	trunk	fixed		
