------- Comment #5 from pinskia at gcc dot gnu dot org 2006-10-23 21:30 ------- (In reply to comment #4) > And indeed, if I remove that unlikely(), it does work. > > There's another set of these where the called initializer is not inlined, > ie: > > int x; > initializer(&x); If initializer is not inlined, you will not get a warning.
This is the same as PR 21513 as __builtin_expect is getting in the way. *** This bug has been marked as a duplicate of 21513 *** -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |RESOLVED Resolution| |DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29574