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]

[PATCH, trivial]: Avoid various "may be used uninitialized" warnings


Hello!

Several otherwise harmless "may be used uninitialized" warnings break
LTO profiled bootstrap.  Attached patch fixes all these places,
enabling profiled LTO bootstrap to continue.

2012-07-04  Uros Bizjak  <ubizjak@gmail.com>

	* expmed.c (expand_mult): Initialize coeff and is_neg.

java/ChangeLog:

2012-07-04  Uros Bizjak  <ubizjak@gmail.com>

	* jcf-io.c (read_zip_member): Zero d_stream.

fortran/ChangLog:

2012-07-04  Uros Bizjak  <ubizjak@gmail.com>

	* parse.c (gfc_parse_file): Initialize errors_before.

Bootstrapped and regression tested on x86_64-pc-linux-gnu with LTO
profiledbootstrap, with additional PR 53321 and PR 53433 patches.

If there are no objections, I plan to commit the patch to mainline SVN tomorrow.

Uros.

Attachment: p.diff.txt
Description: Text document


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