public inbox for fortran@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix gfortran.dg/pr51434.f90 testcase
@ 2018-05-03  7:32 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2018-05-03  7:32 UTC (permalink / raw)
  To: gcc-patches; +Cc: fortran


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.

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
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-03  7:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03  7:32 [PATCH] Fix gfortran.dg/pr51434.f90 testcase Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).