This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH 0/3][graphite] Fix testsuite fails and three miscompiles in cpu2006
- From: Sebastian Pop <sebpop at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: gcc-graphite at googlegroups dot com, Sebastian Pop <sebpop at gmail dot com>
- Date: Fri, 23 Jul 2010 00:44:49 -0500
- Subject: [PATCH 0/3][graphite] Fix testsuite fails and three miscompiles in cpu2006
This patch-set fixes some of the testsuite ICEs and miscompiles. This
also fixes 3 of the 5 miscompiles of cpu2006. I'm committing these
patches to the graphite branch for further test.
Sebastian Pop (3):
Do not instantiate default definitions in instantiate_scev_name.
Use SSA_NAME_DEF_STMT only on SSA_NAMEs.
Propagate constant values or parametric expressions outside the scop
region.
gcc/ChangeLog.graphite | 24 ++++++++
gcc/graphite-sese-to-poly.c | 88 ++++++++++++++++++++++++----
gcc/sese.c | 2 +-
gcc/testsuite/gcc.dg/graphite/id-24.c | 22 +++++++
gcc/testsuite/gcc.dg/graphite/run-id-5.c | 54 +++++++++++++++++
gcc/testsuite/gcc.dg/graphite/run-id-6.c | 55 +++++++++++++++++
gcc/testsuite/gfortran.dg/graphite/id-21.f | 20 ++++++
gcc/tree-scalar-evolution.c | 13 +++--
8 files changed, 261 insertions(+), 17 deletions(-)
create mode 100644 gcc/testsuite/gcc.dg/graphite/id-24.c
create mode 100644 gcc/testsuite/gcc.dg/graphite/run-id-5.c
create mode 100644 gcc/testsuite/gcc.dg/graphite/run-id-6.c
create mode 100644 gcc/testsuite/gfortran.dg/graphite/id-21.f