This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/18265] New: unititlized warning and SRA give confusing names
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Nov 2004 15:44:35 -0000
- Subject: [Bug middle-end/18265] New: unititlized warning and SRA give confusing names
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The attached test case, when compiled with '-O2 -Wall' gives the
following warning,
sra.i: In function 'foo':
sra.i:8: warning: 'a$m' is used uninitialized in this function
A user will know nothing of SRA and think 'I have no variable called a$m -- heck
that's not even a valid name'.
Why can't the SRA names use '.' rather than '$' as the separator?
--
Summary: unititlized warning and SRA give confusing names
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nathan at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18265