../../xgcc -B../../ -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -fno-common      -gnatpg -gnata -I- -I../rts -I.
-I/home/sam/Dev/gcc/gcc/ada /home/sam/Dev/gcc/gcc/ada/uintp.adb -o uintp.o
/home/sam/Dev/gcc/gcc/ada/uintp.adb: In function ‘Uintp.Ui_Div_Rem’:
/home/sam/Dev/gcc/gcc/ada/uintp.adb:171: warning: ‘Quotient’ may be used
uninitialized in this function
/home/sam/Dev/gcc/gcc/ada/uintp.adb:171: note: ‘Quotient’ was declared here
/home/sam/Dev/gcc/gcc/ada/uintp.adb:172: warning: ‘Remainder’ may be used
uninitialized in this function
/home/sam/Dev/gcc/gcc/ada/uintp.adb:172: note: ‘Remainder’ was declared here

% gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ./configure --prefix=/home/sam/local/i386-linux
--enable-languages='c ada' --disable-bootstrap
Thread model: posix
gcc version 4.3.0 20071027 (experimental) (GCC)

Patch will be submitted.


-- 
           Summary: Warning in uintp.adb
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sam at rfc1149 dot net


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

Reply via email to