This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/29574] Gcc gives invalid warning about unitialized variable



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]