Hi, --- sched-int.h ---
/* Information about the dependency. */ struct _dep { .... struct dep_replacement *replace; .... }; typedef dep_def *dep_t; --- sched-deps.c --- static void copy_dep (dep_t to, dep_t from) { memcpy (to, from, sizeof (*to)); // oops? } This might be source of double free problems, etc. I can not build exact reproduction for x86 or arm, but I stepped on it in scheduler code for private backend. Is it worth filing as a bug, or is it part of design?