This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Where does tree-ssa.c read the variable names for -Wuninitialized messages?
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "Diego Novillo" <dnovillo at redhat dot com>
- Cc: "GCC Development" <gcc at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 25 Sep 2006 15:04:26 +0200
- Subject: Re: Where does tree-ssa.c read the variable names for -Wuninitialized messages?
- References: <19c433eb0609250535g7d163503k71edf12266662262@mail.gmail.com> <4517CF41.6030708@redhat.com>
I'd say the FE is not setting the name properly into whatever _DECL we
found.
<var_decl 0xb7b907e8 c$1
type <integer_type 0xb7b95114 char public unsigned string-flag QI
size <integer_cst 0xb7b851f8 constant invariant 8>
unit size <integer_cst 0xb7b85210 constant invariant 1>
align 8 symtab 0 alias set 4 precision 8 min <integer_cst
0xb7b85270 0> max <integer_cst 0xb7b85288 255>
pointer_to_this <pointer_type 0xb7b9c1cc>>
used unsigned QI file pr13615.f line 7 size <integer_cst
0xb7b851f8 8> unit size <integer_cst 0xb7b85210 1>
align 8 context <function_decl 0xb7be0e00 warn_character>>
I'll try to understand why this $1 behaves so badly in the error
message, and why it is set that way in the first place.
FX