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 #6 from mbligh at mbligh dot org  2006-10-23 21:42 -------
Re the non-inlined functions ...
Have been discussing this with Andrew Morton.

what do we do then? Adding dead code to fix the fact that gcc can't see into
other functions is incorrect and inefficient.

Having lots of compiler warnings drowns out real ones, and is not acceptable.

How do we get around this? Can we at least get the option to not warn if it's
"blind" to the problem because it goes through another function, if not make
that the default?

gcc warnings are an incredibly valuable way to find code bugs if they're real.
If some are not real, we lose the benefit to all, as the real ones are drowned
in the noise.


-- 


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]