aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@arm.com>2014-06-03 09:29:06 +0000
committerThomas Preud'homme <thopre01@gcc.gnu.org>2014-06-03 09:29:06 +0000
commit3cc272c178d0c22f812386e5f1d752494fd55a2f (patch)
treee5494ee56bf0f0a13aab7c8a170acf255baae7aa /gcc/function.c
parent597c6315ca23f0451be82a7cfb4ebc9fa34105e7 (diff)
downloadgcc-3cc272c178d0c22f812386e5f1d752494fd55a2f.zip
gcc-3cc272c178d0c22f812386e5f1d752494fd55a2f.tar.gz
gcc-3cc272c178d0c22f812386e5f1d752494fd55a2f.tar.bz2
re PR tree-optimization/61328 (valgrind finds problem in find_bswap_or_nop_1)
2014-06-03 Thomas Preud'homme <thomas.preudhomme@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. From-SVN: r211166
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions