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]

[Bug optimization/14329] New: [tree-ssa] badly formatted warnings for SRA replacements


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


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