public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "tromey at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/45083]  New: strange warning text from gcc
Date: Mon, 26 Jul 2010 15:52:00 -0000	[thread overview]
Message-ID: <bug-45083-360@http.gcc.gnu.org/bugzilla/> (raw)

[-- 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


             reply	other threads:[~2010-07-26 15:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26 15:52 tromey at gcc dot gnu dot org [this message]
2010-07-26 15:53 ` [Bug tree-optimization/45083] " tromey at gcc dot gnu dot org
2010-07-26 16:00 ` tromey at gcc dot gnu dot org
2010-07-26 18:50 ` jakub at gcc dot gnu dot org
2010-07-26 18:56 ` [Bug tree-optimization/45083] [4.3/4.4/4.5/4.6 Regression] " pinskia at gcc dot gnu dot org
2010-07-26 19:16 ` jakub at gcc dot gnu dot org
2010-07-27  8:38 ` jakub at gcc dot gnu dot org
2010-07-27  9:45 ` jakub at gcc dot gnu dot org
2010-07-27 10:17 ` [Bug tree-optimization/45083] [4.3/4.4/4.5 " jakub at gcc dot gnu dot org
2010-08-30 15:53 ` rguenth at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-45083-360@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).