This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/3] Fix PR46886
- From: Sebastian Pop <sebpop at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: rguenther at suse dot de, Sebastian Pop <sebpop at gmail dot com>
- Date: Sun, 13 Feb 2011 22:16:59 -0600
- Subject: [PATCH 0/3] Fix PR46886
Hi,
in order to fix the miscompile in PR46886, I suggest to disable the
autopar pass when loop copy headers is disabled (a bit like disabling
a graphite transform when DCE is disabled). The autopar code
generation assumes some properties that are verified after loop_ch.
The patch-set passed regstrap on amd64-linux. Ok for trunk?
Thanks,
Sebastian
Sebastian Pop (3):
Remove redundant call to force_gimple_operand.
Correct indentation.
Fix PR46886: disable autopar when flag_tree_ch is not set.
gcc/ChangeLog | 15 +++
gcc/tree-parloops.c | 91 +++++++++----------
libgomp/ChangeLog | 6 ++
libgomp/testsuite/libgomp.c/autopar-pr46886.c | 29 ++++++
.../testsuite/libgomp.fortran/autopar-pr46886.f90 | 21 +++++
5 files changed, 114 insertions(+), 48 deletions(-)
create mode 100644 libgomp/testsuite/libgomp.c/autopar-pr46886.c
create mode 100644 libgomp/testsuite/libgomp.fortran/autopar-pr46886.f90