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 middle-end/18265] New: unititlized warning and SRA give confusing names


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


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