[Bug bootstrap/37639] Bootstrap fails with "may be used uninitialized" warning in c-parser.c
--- Comment #3 from lucier at math dot purdue dot edu 2008-10-30 00:19 --- You're right, it was fixed by Revision 141193 - (view) (download) - [select for diffs] Modified Fri Oct 17 14:50:07 2008 UTC (12 days, 9 hours ago) by krebbel File length: 238566 byte(s) Diff to previous 140914 (colored) 2008-10-17 Andreas Krebbel <[EMAIL PROTECTED]> * c-parser.c (c_parser_binary_expression): Silence the uninitialized variable warning emitted for binary_loc. I hadn't noticed because I started adding --disable-werror to my configuration files. Closing as fixed. -- lucier at math dot purdue dot edu changed: What|Removed |Added Status|WAITING |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37639
[Bug bootstrap/37639] Bootstrap fails with "may be used uninitialized" warning in c-parser.c
--- Comment #2 from manu at gcc dot gnu dot org 2008-10-30 00:09 --- What revision is this? Seems fixed in mainline. -- manu at gcc dot gnu dot org changed: What|Removed |Added CC||manu at gcc dot gnu dot org Status|UNCONFIRMED |WAITING http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37639
[Bug bootstrap/37639] Bootstrap fails with "may be used uninitialized" warning in c-parser.c
--- Comment #1 from lucier at math dot purdue dot edu 2008-09-24 15:34 --- Created an attachment (id=16401) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16401&action=view) macro-expanded source of c-parser.c Sorry for hitting return instead of tab in the initial report ... Configured and bootstrapped with [descartes:objdirs/mainline/gcc] lucier% cat ../../../mainline/build-and-check-gcc-64 #!/bin/tcsh /bin/rm -rf *; ../../mainline/configure CC='/usr/bin/gcc-4.0 -mcpu=970 -m64' --build=powerpc64-apple-darwin9.5.0 --host=powerpc64-apple-darwin9.5.0 --target=powerpc64-apple-darwin9.5.0 --with-gmp-include=/sw/include/ --with-gmp-lib=/sw/lib/ppc64 --with-mpfr-include=/sw/include/ --with-mpfr-lib=/sw/lib/ppc64 --prefix=/pkgs/gcc-4.4.0-64 --with-libiconv-prefix=/usr --with-system-zlib; make -j 4 bootstrap BOOT_LDFLAGS='-Wl,-search_paths_first' >& build.log && (make install) && (make -k -j 8 check RUNTESTFLAGS="--target_board 'unix{-mcpu=970/-m64}'" >& check.log ; make mail-report.log) Error is [descartes:objdirs/mainline/gcc] lucier% /Users/lucier/programs/gcc/objdirs/mainline/./prev-gcc/xgcc -B/Users/lucier/programs/gcc/objdirs/mainline/./prev-gcc/ -B/pkgs/gcc-4.4.0-64/powerpc64-apple-darwin9.5.0/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../../mainline/gcc -I../../../mainline/gcc/. -I../../../mainline/gcc/../include -I./../intl -I../../../mainline/gcc/../libcpp/include -I/sw/include/ -I/sw/include/ -I../../../mainline/gcc/../libdecnumber -I../../../mainline/gcc/../libdecnumber/dpd -I../libdecnumber ../../../mainline/gcc/c-parser.c -o c-parser.o -save-temps cc1: warnings being treated as errors ../../../mainline/gcc/c-parser.c: In function 'c_parser_binary_expression': ../../../mainline/gcc/c-parser.c:4579: error: 'binary_loc' may be used uninitialized in this function ../../../mainline/gcc/c-parser.c:4579: note: 'binary_loc' was declared here preprocessed source included as an attachment -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37639