Hi, Found following memory leaks in modulo-sched.c In function, sms_schedule(), memory allocated and pointed by g_arr is not freed. In function sms_schedule_by_order(), sbitmap memory allocated and pointed by must_precede, must_follow and tobe_scheduled respectively, not freed.
-- Summary: memory leaks in swing modulo scheduling function Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: uttamp at us dot ibm dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26184