https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61845

            Bug ID: 61845
           Summary: Minor build warnings for gcc-4.9.1
           Product: gcc
           Version: 4.9.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcc
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bdubbs at linuxfromscratch dot org

I would think that gcc would build itself cleanly.  The following warnings are
produced when building:

libgcc/config/libbid/bid64_div.c:523:51: warning: variable 'Ql' set but not
used
libgcc/config/libbid/bid64_div.c:937:51: warning: variable 'Ql' set but not
used
libgcc/config/libbid/bid64_div.c:1374:51: warning: variable 'Ql' set but not
used

libgcc/config/libbid/bid128_div.c:39:51: warning: variable 'Ql' set but not
used
libgcc/config/libbid/bid128_div.c:490:51: warning: variable 'Ql' set but not
used
libgcc/config/libbid/bid128_div.c:949:51: warning: variable 'Ql' set but not
used
libgcc/config/libbid/bid128_div.c:1406:51: warning: variable 'Ql' set but not
used

libsanitizer/ubsan/ubsan_diag.h:192:72: warning:
'Loc.__ubsan::Location::MemoryLoc' may be used uninitialized in this function
[-Wmaybe-uninitialized]

libssp/gets-chk.c:62:5: warning: 'gets' is deprecated 
libssp/gets-chk.c:69:5: warning: 'gets' is deprecated                   
libssp/gets-chk.c:69: warning: the `gets' function is dangerous and should not
be used.

Built with:

mkdir ../gcc-build
cd    ../gcc-build
            \
../gcc-4.9.1/configure           \
     --prefix=/usr               \
     --enable-shared             \
     --enable-threads=posix      \
     --enable-__cxa_atexit       \
     --enable-clocale=gnu        \
     --enable-languages=c,c++    \
     --disable-multilib          \
     --disable-bootstrap         \
     --with-system-zlib

make

Reply via email to