> > + > > + profile_status_for_function (fn) > > + = (flag_guess_branch_prob ? PROFILE_GUESSED : PROFILE_ABSENT); > > + node->frequency > > + = hot ? NODE_FREQUENCY_HOT : NODE_FREQUENCY_NORMAL; > > In GCC code style the = goes at the end of the line: > > profile_status_for_function (fn) > (flag_guess_branch_prob ? PROFILE_GUESSED : PROFILE_ABSENT); > node->frequency = > hot ? NODE_FREQUENCY_HOT : NODE_FREQUENCY_NORMAL;
Absolutely not, Teresa's version is the correct one, see reload.c for example. -- Eric Botcazou