https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43686
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Target Milestone|--- |5.0 --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Fixed in GCC 4.5. I see the duplicated indirect jumps for the no attribute case and the attribute hot cases. And for the cold case, it is a direct jump to a bb containing the indirect jump. Also fully fixed for GCC 5 by r5-1621.