Opened 16 years ago

Last modified 13 years ago

#1104 closed defect (fixed)

omc infinite loop

Reported by: StefanJank Owned by: StefanJank
Priority: high Milestone:
Component: Version:
Keywords: Cc: StefanJank,

Description

While compiling following code, omc runs into infinite loop, eating
memory and cpu. Should give kind of error message?

code:

class A

class B

A a;

end B;
B b;

end A;

tested on openmodelica 1.4.5 windows xp and vista.

Change History (1)

comment:1 by Per Östlund, 13 years ago

Fixed in r9735, see testcase mofiles/RecursiveDefinition.mo.

Note: See TracTickets for help on using tickets.