This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
middle-end/7258: The message "variable might be used uninitialised" does not tell the location
- From: schnetter at uni-tuebingen dot de
- To: gcc-gnats at gcc dot gnu dot org
- Date: 10 Jul 2002 09:27:08 -0000
- Subject: middle-end/7258: The message "variable might be used uninitialised" does not tell the location
- Reply-to: schnetter at uni-tuebingen dot de
>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: