diff options
author | Richard Guenther <rguenther@suse.de> | 2010-09-13 10:47:28 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2010-09-13 10:47:28 +0000 |
commit | 654a61fb34739e051618c5af90e8bfa77b84a8d2 (patch) | |
tree | 51fac9eba944cc15074a16d7203048c75e11a512 /gcc | |
parent | 4e3a5f1940d233b685cadfbcb472462d6e7f5416 (diff) | |
download | gcc-654a61fb34739e051618c5af90e8bfa77b84a8d2.zip gcc-654a61fb34739e051618c5af90e8bfa77b84a8d2.tar.gz gcc-654a61fb34739e051618c5af90e8bfa77b84a8d2.tar.bz2 |
re PR bootstrap/45611 (SIGBUS in generate_option_input_file on Solaris 2/SPARC)
2010-09-13 Richard Guenther <rguenther@suse.de>
PR tree-optimization/45611
* tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Fix typo.
(copy_ref_info): Likewise.
From-SVN: r164244
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/tree-ssa-loop-ivopts.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ac30f7a..dc5d33d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-09-13 Richard Guenther <rguenther@suse.de> + + PR tree-optimization/45611 + * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Fix typo. + (copy_ref_info): Likewise. + 2010-09-13 Alexandre Oliva <aoliva@redhat.com> PR debug/45604 diff --git a/gcc/tree-ssa-loop-ivopts.c b/gcc/tree-ssa-loop-ivopts.c index 432b3f9..88fc015 100644 --- a/gcc/tree-ssa-loop-ivopts.c +++ b/gcc/tree-ssa-loop-ivopts.c @@ -5869,7 +5869,7 @@ rewrite_use_nonlinear_expr (struct ivopts_data *data, information. */ if (SSA_NAME_PTR_INFO (comp)) { - SSA_NAME_PTR_INFO (comp)->align = BITS_PER_UNIT; + SSA_NAME_PTR_INFO (comp)->align = 1; SSA_NAME_PTR_INFO (comp)->misalign = 0; } } @@ -5934,7 +5934,7 @@ copy_ref_info (tree new_ref, tree old_ref) } else { - new_pi->align = BITS_PER_UNIT; + new_pi->align = 1; new_pi->misalign = 0; } } |