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

hmb <muhammad_bilal at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #12 from hmb <muhammad_bilal at mentor dot com> ---
I got enother error in gdb source code with same building step as I described
above:

/home/mbilal/gcc-svn/install/bin/gcc -save-temps -g -O2   -I. -I.././../src/gdb
-I.././../src/gdb/common -I.././../src/gdb/config
-DLOCALEDIR="\"/home/mbilal/gdb-git/gcc_install_bug_report/share/locale\""
-DHAVE_CONFIG_H -I.././../src/gdb/../include/opcode
-I.././../src/gdb/../opcodes/.. -I.././../src/gdb/../readline/.. -I../bfd
-I.././../src/gdb/../bfd -I.././../src/gdb/../include -I../libdecnumber
-I.././../src/gdb/../libdecnumber  -I.././../src/gdb/gnulib/import
-Ibuild-gnulib/import   -DTUI=1  -I/usr/include/python2.7
-I/usr/include/python2.7 -Wall -Wdeclaration-after-statement -Wpointer-arith
-Wpointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch
-Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement
-Wempty-body -Wformat-nonliteral -Werror -c -o value.o -MT value.o -MMD -MP -MF
.deps/value.Tpo .././../src/gdb/value.c
.././../src/gdb/value.c: In function ‘show_convenience’:
.././../src/gdb/value.c:2247:21: error: ‘buf’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
       TRY_CATCH (ex, RETURN_MASK_ERROR)
                     ^
cc1: all warnings being treated as errors
make[2]: *** [value.o] Error 1
make[2]: Leaving directory `/home/mbilal/gdb-git/gcc-obj_bug_report/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/home/mbilal/gdb-git/gcc-obj_bug_report'
make: *** [all] Error 2

Reply via email to