Patch for max number of errors make gfortran.dg/gomp/reduction1.f90 fail

Brooks Moses brooks.moses@codesourcery.com
Thu Mar 8 22:42:00 GMT 2007


Steve Kargl wrote:
> Mainline has
> 
> gfortran.dg/gomp/reduction1.f90
> 
> ! { dg-do compile }
> ! { dg-options "-fopenmp -fmax-errors=100" }
> ! { dg-require-effective-target tls }
> 
> while 4.2 has
> 
> /gfortran.dg/gomp/reduction1.f90
> 
> ! { dg-do compile }
> ! { dg-require-effective-target tls }

The following was committed to 4.2 as obvious, and tested on 
i686-pc-linux-gnu to confirm that reduction1.f90 now passes:

Index: ChangeLog
===================================================================
--- ChangeLog   (revision 122719)
+++ ChangeLog   (working copy)
@@ -1,3 +1,9 @@
+2007-03-08  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       Backport from trunk.
+       * gfortran.dg/gomp/reduction1.f90: Add -fmax-errors=100 to
+       dg-options.
+
  2007-03-08  Paul Thomas  <pault@gcc.gnu.org>
             Tobias Burnus  <burnus@net-b.de>

Index: gfortran.dg/gomp/reduction1.f90
===================================================================
--- gfortran.dg/gomp/reduction1.f90     (revision 122708)
+++ gfortran.dg/gomp/reduction1.f90     (working copy)
@@ -1,4 +1,5 @@
  ! { dg-do compile }
+! { dg-options "-fopenmp -fmax-errors=100" }
  ! { dg-require-effective-target tls }

  subroutine foo (ia1)


- Brooks



More information about the Gcc-patches mailing list