public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch, Fortran, committed] Fixed test case
@ 2015-05-03 18:17 Thomas Koenig
  0 siblings, 0 replies; only message in thread
From: Thomas Koenig @ 2015-05-03 18:17 UTC (permalink / raw)
  To: fortran, gcc-patches

Hello world,

I have just committed the following patch as obvious after testing.
This fixes the regression from the incorrect code in the test case
of my lbound simplification patch.

Regards

	Thomas

Index: gfortran.dg/bound_9.f90
===================================================================
--- gfortran.dg/bound_9.f90     (Revision 222661)
+++ gfortran.dg/bound_9.f90     (Arbeitskopie)
@@ -54,6 +54,7 @@
   call foo(empty, a(2:0), n, m)
   if (n .ne. 1 .or. m .ne. 1) call abort
   allocate (x(0))
+  y => a(3:2)
   call bar (x, y, n, m)
   if (n .ne. 1 .or. m .ne. 1) call abort

2015-05-03  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/37131
	* gfortran.dg/bound_9.f90:  Add pointer assignment.

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

only message in thread, other threads:[~2015-05-03 18:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-03 18:17 [patch, Fortran, committed] Fixed test case Thomas Koenig

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).