GCC 4.9 emits -Wmaybe-uninitialized warnings for the function get_out_value_type(): /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c: In function ¡compile_object_load¢: /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:419:20: error: ¡block¢ may be used uninitialized in this function [-Werror=maybe-uninitialized] gdb_ptr_type_sym = block_lookup_symbol (block, COMPILE_I_EXPR_PTR_TYPE, ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:376:23: note: ¡block¢ was declared here const struct block *block; ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:416:12: error: ¡gdb_val_sym¢ may be used uninitialized in this function [-Werror=maybe-uninitialized] gdb_type = SYMBOL_TYPE (gdb_val_sym); ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:374:37: note: ¡gdb_val_sym¢ was declared here struct symbol *gdb_ptr_type_sym, *gdb_val_sym; ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:406:10: error: ¡function¢ may be used uninitialized in this function [-Werror=maybe-uninitialized] if (function != NULL ^ /home/patrick/code/binutils-gdb/gdb/compile/compile-object-load.c:387:22: note: ¡function¢ was declared here struct symbol *function;