[Bug c/57287] GCC 4.9.0 fails to build GDB on Ubuntu 12.04
palves at redhat dot com
gcc-bugzilla@gcc.gnu.org
Wed May 15 12:43:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57287
Pedro Alves <palves at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palves at redhat dot com
--- Comment #1 from Pedro Alves <palves at redhat dot com> ---
(Repeating my comment on the GDB bugzilla here)
All these warnings are around setjmp/longjmp.
E.g, with:
.././../src/gdb/python/py-framefilter.c:731:11: error: ‘local_indent’ may be
used uninitialized in this function [-Werror=maybe-uninitialized]
int local_indent = 8 + (8 * indent);
local_indent is only used in a TRY_CATCH block, meaning, after a setjmp.
I suspect this to be related to this recent setjmp gcc change:
http://gcc.gnu.org/ml/gcc-patches/2013-05/msg00344.html
More information about the Gcc-bugs
mailing list