This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/14329] New: [tree-ssa] badly formatted warnings for SRA replacements
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Feb 2004 01:08:52 -0000
- Subject: [Bug optimization/14329] New: [tree-ssa] badly formatted warnings for SRA replacements
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
gcc version 3.5-tree-ssa 20040217 (merged 20040211)
int sys_msgctl (void)
{
struct { int mode; } setbuf;
return setbuf.mode;
}
% gcc -O2 -Wall -c gcc_bug.c
gcc_bug.c: In function `sys_msgctl':
gcc_bug.c:4: warning: 'setbuf$mode' is used uninitialized in this function
Very cool of SRA to recognize this, but it should really say 'setbuf.mode'.
--
Summary: [tree-ssa] badly formatted warnings for SRA replacements
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: falk at debian dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14329