re PR tree-optimization/41783 (r151561 (PRE fix) regresses zeusmp)
commitb61b1f1708ed5114bc753e54b4d3b3b92d99649c
authorMichael Matz <matz@gcc.gnu.org>
Tue, 19 Jan 2010 16:05:57 +0000 (19 16:05 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Tue, 19 Jan 2010 16:05:57 +0000 (19 16:05 +0000)
tree8b75ec9a7cd6dfed1c0f14f1e6f59e465852c3c6
parentb3d7e1910fd9146716cc75a562bd59327c79ee58
re PR tree-optimization/41783 (r151561 (PRE fix) regresses zeusmp)

PR tree-optimization/41783
* tree-data-ref.c (toplevel): Include flags.h.
(dump_data_dependence_relation):  Also dump the inputs if the
result will be unknown.
(split_constant_offset_1): Look through some conversions.
* tree-predcom.c (determine_roots_comp): Restart a new chain if
the offset from last element is too large.
(ref_at_iteration): Deal also with MISALIGNED_INDIRECT_REF.
(reassociate_to_the_same_stmt): Handle vector registers.
* tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations
(e.g. conversions).
* tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add
wide_prolog_niters argument, emit widening instructions.
(vect_do_peeling_for_alignment): Adjust caller, use widened
variant of the iteration cound.
* Makefile.in (tree-data-ref.o): Add $(FLAGS_H).

testsuite/
* gfortran.dg/vect/fast-math-mgrid-resid.f: New.

From-SVN: r156043
gcc/ChangeLog
gcc/Makefile.in
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/vect/fast-math-mgrid-resid.f [new file with mode: 0644]
gcc/tree-data-ref.c
gcc/tree-predcom.c
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop-manip.c