diff mbox

[gomp4] 2 fortran tests

Message ID 568D51F1.1090407@acm.org
State New
Headers show

Commit Message

Nathan Sidwell Jan. 6, 2016, 5:42 p.m. UTC
These two tests ICE unless -ftree-parallelize-loops is 1.

nathan
diff mbox

Patch

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