[Bug ada/53230] New: s-fileio.adb:308:10: warning: ‘Errno’ may be used uninitialized in this function
danglin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri May 4 12:00:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53230
Bug #: 53230
Summary: s-fileio.adb:308:10: warning: ‘Errno’ may be used
uninitialized in this function
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: ada
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
Build: hppa-unknown-linux-gnu
/home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/
-B/home/
dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.7.
0/hppa-linux-gnu/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/i
nclude -isystem /home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/sys-include
-
c -g -O2 -W -Wall -gnatpg -nostdinc s-fishfl.ads -o s-fishfl.o
s-fileio.adb: In function ‘System.File_Io.Close’:
s-fileio.adb:308:10: warning: ‘Errno’ may be used uninitialized in this
function
[-Wmaybe-uninitialized]
Raise_Device_Error (null, Errno);
^
More information about the Gcc-bugs
mailing list