This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] |
Hi there, today I bootstrapped mainline checked out at "Tue Jul 19 06:10:26 UTC 2005" using the usual: BOOT_CFLAGS: -O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer CFLAGS: -O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer CXXFLAGS: -O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -g GCJFLAGS: -O2 -march=i686 -mtune=pentium4 -fomit-frame-pointer -g (Results can be found at <http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg01032.html>). I then changed the "-O2" into "-O3" and tried to bootstrap again, but failed due to several warnings like ../../gcc-20050719/gcc/tree-ssa-structalias.c: In function 'int_add_graph_edge': ../../gcc-20050719/gcc/tree-ssa-structalias.c:945: warning: 'edge.weights' is used uninitialized in this function This happened in all of the following languages: c, c++, fortran, and java. The attached patch fixes this. I bootstrapped and regtested it on i686-sles9-linux-gnu without any regressions. OK to install? Cheers. l8er manfred gcc/ChangeLog: 2005-07-19 Manfred Hollstein <mh@suse.com> * tree-ssa-structalias.c (merge_graph_nodes): Fix uninitialised warnings. (int_add_graph_edge): Likewise. (collapse_nodes): Likewise. (process_unification_queue): Likewise. gcc/cp/ChangeLog 2005-07-19 Manfred Hollstein <mh@suse.com> * parser.c (cp_parser_declaration): Fix unitialised warnings. gcc/fortran/ChangeLog 2005-07-19 Manfred Hollstein <mh@suse.com> * match.c (gfc_match_symbol): Fix uninitialised warnings. * matchexp.c (gfc_match_expr): Likewise. gcc/java/ChangeLog 2005-07-19 Manfred Hollstein <mh@suse.com> * verify-impl.c (check_class_constant): Fix uninitialised warnings. (check_constant): Likewise. (check_wide_constant): Likewise.
Attachment:
gcc-warnings.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |