middle-end/7258: The message "variable might be used uninitialised" does not tell the location

schnetter@uni-tuebingen.de schnetter@uni-tuebingen.de
Wed Jul 10 03:20:00 GMT 2002


>Number:         7258
>Category:       middle-end
>Synopsis:       The message "variable might be used uninitialised" does not tell the location
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 10 02:36:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Erik Schnetter
>Release:        gcc 2.95.3
>Organization:
>Environment:
SuSE Linux 7.3
i386
>Description:
The warning message "variable might be used uninitialised" gives as location the place where the variable is declared.  It would also be very useful if the compiler gave the location where the variable is used (without being initialised).  This location might be difficult to find if the variable is used several times in a longer function.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-bugs mailing list