diff mbox series

Fix gfortran.dg/pr51434.f90 testcase

Message ID alpine.LSU.2.20.1805030931220.24704@zhemvz.fhfr.qr
State New
Headers show
Series Fix gfortran.dg/pr51434.f90 testcase | expand

Commit Message

Richard Biener May 3, 2018, 7:32 a.m. UTC
As noted in the bug the testcase is bogus.  The following should
hopefully fix the observed runtime failures on powerpc and arm.
I've changed the bug to a FE accepts-invalid one.

Committed.

Richard.

2018-05-03  Richard Biener  <rguenther@suse.de>

	PR testsuite/85579
	* fortran.dg/pr51434.f90: Truncate transfer argument.
diff mbox series

Patch

Index: gcc/testsuite/gfortran.dg/pr51434.f90
===================================================================
--- gcc/testsuite/gfortran.dg/pr51434.f90	(revision 259879)
+++ gcc/testsuite/gfortran.dg/pr51434.f90	(working copy)
@@ -6,7 +6,7 @@  module foo
    character(len=1), parameter :: s(n) = 'a'
    type :: a
       integer :: m = n
-      character(len=1):: t(n) = transfer('abcde             ', s)
+      character(len=1):: t(n) = transfer('abcde', s)
    end type a
 end module foo