This is the mail archive of the gcc@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]

Re: 'xxx' may be used uninitialized in this function


> 
> 
> There's more to it than that, unless your compiler is very broken.
> GCC should not warn for "int x; foo (&x);".

Or inlining happened and foo got inlined and really there is a path
which could leave x uninitialized.

-- Pinski


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