This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Where does tree-ssa.c read the variable names for -Wuninitialized messages?
- From: "François-Xavier Coudert" <fxcoudert at gmail dot com>
- To: "GCC Development" <gcc at gcc dot gnu dot org>, gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 25 Sep 2006 14:35:30 +0200
- Subject: Where does tree-ssa.c read the variable names for -Wuninitialized messages?
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=FzikSFK27nI+L2NVzYIWbU6T3mgbu6ey97UN+6yMK1eylfCdm7ltngij2Rt9kI0euRXePR1rwtaTd0ml5vW15ME3hHANhxUenRa3CIUWZ6pnRcg3WADl+GJ/fvuHGAQp6WL8xgRQwR1Cdmd0MwK5T93Hq6VbKU8iI645j3Guuow=
Hi,
I'm trying to understand PR 13615, where a used-uninitialized Fortran
character string induces the following diagnostic:
'c[1]{lb: 1 sz: 1}t.f: In function 'warn_character':
t.f:33: warning: ' is used uninitialized in this function
I see that this error message is emitted from tree-ssa.c, but I'm not
skilled enough in middle-end magic to understand whether the fault is
on the front-end not setting something correctly, or the middle-end
not understanding what this variable is. I hope someone here could,
without too much trouble, help me.
Thanks,
FX