This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [v3] use AM_ICONV


Benjamin Kosnik <bkoz@redhat.com> writes:

[...]

| ... but does not when the config is:
| 
| 
| $src/gcc.combined/configure --prefix=$bld/H-x86-x-m32c-elf-gcc
| --enable-languages=c,c++ --enable-__cxa_atexit --disable-checking
| --with-newlib --disable-gdbtk --target=m32c-elf

I tried that one, but it did not go far because of a "may be used
uninitialized" that is turned into a hard error (because GDB uses
-Werror).  :-(  Not a libstdc++ issue there.

If I did not say it before: death to diagnostics from middle-end.

cc1: warnings being treated as errors
/home/gdr/redhat/combined/gdb/p-valprint.c: In function 'pascal_object_print_value_fields':
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.alloc_failed' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.maybe_empty_object' may be used uninitialized in this
function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.use_extra_arg' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.extra_arg' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.freefun' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.chunkfun' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.alignment_mask' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.temp' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.chunk_limit' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.next_free' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.object_base' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.chunk' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:644: warning: 'tmp_obstack.chunk_size' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c: In function 'pascal_object_print_value':
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.alloc_failed' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.maybe_empty_object' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.use_extra_arg' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.extra_arg' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.freefun' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.chunkfun' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.alignment_mask' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.temp' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.chunk_limit' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.next_free' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.object_base' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.chunk' may be used uninitialized in this function
/home/gdr/redhat/combined/gdb/p-valprint.c:813: warning: 'tmp_obstack.chunk_size' may be used uninitialized in this function
make[2]: *** [p-valprint.o] Error 1

-- Gaby


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]