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]

Re: c/7258: The message "variable might be used uninitialised" does not tell the location


Synopsis: The message "variable might be used uninitialised" does not tell the location

State-Changed-From-To: open->analyzed
State-Changed-By: bangerth
State-Changed-When: Tue Dec  3 14:59:45 2002
State-Changed-Why:
    Confirmed. Use the following, as an example:
    -----------------------
    void g ();
    void f() {
      int i;
      if (i)
        g();
    };
    ----------------------
    The message is
    tmp/g> /home/bangerth/bin/gcc-3.3-pre/bin/gcc -W -Wall -Wuninitialized -O -c x.c
    x.c: In function `f':
    x.c:4: warning: `i' might be used uninitialized in this function

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7258


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