https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61328
--- Comment #5 from thopre01 at gcc dot gnu.org --- Author: thopre01 Date: Tue Jun 3 09:29:06 2014 New Revision: 211166 URL: http://gcc.gnu.org/viewcvs?rev=211166&root=gcc&view=rev Log: 2014-06-03 Thomas Preud'homme <thomas.preudho...@arm.com> PR tree-optimization/61328 * tree-ssa-math-opts.c (init_symbolic_number): Extract symbolic number initialization from find_bswap_or_nop_1. (find_bswap_or_nop_1): Test return value of find_bswap_or_nop_1 stored in source_expr2 before using the size value the function sets. Also make use of init_symbolic_number () in both the old place and find_bswap_or_nop_load () to avoid reading uninitialized memory when doing recursion in the GIMPLE_BINARY_RHS case. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-ssa-math-opts.c