public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45083]  New: strange warning text from gcc
@ 2010-07-26 15:52 tromey at gcc dot gnu dot org
  2010-07-27 10:17 ` [Bug tree-optimization/45083] [4.3/4.4/4.5 Regression] " jakub at gcc dot gnu dot org
  2010-08-30 15:53 ` rguenth at gcc dot gnu dot org
  0 siblings, 2 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2010-07-26 15:52 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1727 bytes --]

While compiling gdb with a relatively recent svn trunk gcc, I saw:

gcc -g -O2   -I. -I../../archer/gdb -I../../archer/gdb/common
-I../../archer/gdb/config
-DLOCALEDIR="\"/home/tromey/gnu/archer/install/share/locale\"" -DHAVE_CONFIG_H
-I../../archer/gdb/../include/opcode -I../../archer/gdb/../opcodes/..
-I../../archer/gdb/../readline/.. -I../bfd -I../../archer/gdb/../bfd
-I../../archer/gdb/../include -I../libdecnumber
-I../../archer/gdb/../libdecnumber  -I../../archer/gdb/gnulib -Ignulib 
-DMI_OUT=1 -DTUI=1  -I/usr/include -I/usr/include  -Wall
-Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral
-Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Werror -c -o xcoffread.o -MT xcoffread.o -MMD -MP -MF
.deps/xcoffread.Tpo ../../archer/gdb/xcoffread.c
../../archer/gdb/xcoffread.c: In function ‘xcoff_psymtab_to_symtab_1’:
../../archer/gdb/xcoffread.c:1325:9: error:
‘fcn_aux_saved$x_sym$x_misc$x_fsize’ may be used uninitialized in this function
[-Werror=uninitialized]
../../archer/gdb/xcoffread.c:955:25: note: ‘fcn_aux_saved$x_sym$x_misc$x_fsize’
was declared here
cc1: all warnings being treated as errors


Those "$"s are strange to see, because they don't appear in the source.
I think it would be friendlier to emit "."s instead.

I will attach the .i momentarily.


-- 
           Summary: strange warning text from gcc
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45083


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-02 10:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45083-4@http.gcc.gnu.org/bugzilla/>
2011-06-27 14:27 ` [Bug tree-optimization/45083] [4.3/4.4/4.5 Regression] strange warning text from gcc rguenth at gcc dot gnu.org
2012-03-13 14:56 ` [Bug tree-optimization/45083] [4.5 " jakub at gcc dot gnu.org
2012-07-02 10:49 ` rguenth at gcc dot gnu.org
2010-07-26 15:52 [Bug tree-optimization/45083] New: " tromey at gcc dot gnu dot org
2010-07-27 10:17 ` [Bug tree-optimization/45083] [4.3/4.4/4.5 Regression] " jakub at gcc dot gnu dot org
2010-08-30 15:53 ` rguenth at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).