This is the mail archive of the gcc-patches@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: [patch] silence uninitialised variable warnings


Manuel LÃpez-IbÃÃez pisze:
On 11/09/2007, Brian Sidebotham <micros@valvers.com> wrote:
Hi Guys,

Attached is a patch to silence a lot of "var might be used uninitialised.."
warnings - Generally caused by a pointer to the var being passed to a function
that then modifies the contents of the var.


Do you get those warnings with a recent GCC version ?

4.2.2-20070825 produces these warnings. 4.3.0-20070825 works fine and Brian's patch isn't needed (at least for PR32395).


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