------- Comment #2 from tromey at gcc dot gnu dot org 2007-08-02 02:17 ------- Yeah -- I looked at the other bugs before filing this one. The issue here is that the hot/cold code already checks for the conflict; but we merge without calling the handlers, so the check is never triggered. I didn't look to see if the inline stuff does the same.
One possible fix might be to re-run the handlers when merging. I don't know if that would have undesirable side effects. Another fix would be to move consistency checking into a separate function. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32960