https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88400
--- Comment #4 from hhj <He.Hongjun at zte dot com.cn> --- (In reply to Andrew Pinski from comment #3) > Also this seems like it is an upstream issue too. This is how we handle it. When the parent's sched_priority isn't sam as the children's 1 If the parent's sched_priority is greater than the children's, raising the children's sched_priority. After register children, restore the children's sched_priority. 2 If children's sched_priority is greater than the parent's, raising the parent's sched_priority. After register children, restore the parent's sched_priority.