This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[gomp4] 2 fortran tests
- From: Nathan Sidwell <nathan at acm dot org>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 6 Jan 2016 12:42:09 -0500
- Subject: [gomp4] 2 fortran tests
- Authentication-results: sourceware.org; auth=none
These two tests ICE unless -ftree-parallelize-loops is 1.
nathan
2016-01-06 Nathan Sidwell <nathan@codesourcery.com>
* gfortran.dg/goacc/reduction-2.f95: Set ftree-parallize-loops to 1.
* gfortran.dg/goacc/combined-directives.f90: Likewise.
Index: gfortran.dg/goacc/reduction-2.f95
===================================================================
--- gfortran.dg/goacc/reduction-2.f95 (revision 232084)
+++ gfortran.dg/goacc/reduction-2.f95 (working copy)
@@ -1,5 +1,5 @@
! { dg-do compile }
-! { dg-additional-options "-fdump-tree-gimple" }
+! { dg-additional-options "-fdump-tree-gimple -ftree-parallelize-loops=1" }
subroutine foo ()
implicit none
Index: gfortran.dg/goacc/combined-directives.f90
===================================================================
--- gfortran.dg/goacc/combined-directives.f90 (revision 232084)
+++ gfortran.dg/goacc/combined-directives.f90 (working copy)
@@ -1,7 +1,7 @@
! Exercise combined OpenACC directives.
! { dg-do compile }
-! { dg-options "-fopenacc -fdump-tree-gimple" }
+! { dg-options "-fopenacc -fdump-tree-gimple -ftree-parallelize-loops=1" }
! TODO
! Fix OMP_LIST_PRIVATE and OMP_LIST_REDUCTION splitting in