This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, Fortran] PR57456 - Handle ALLOCATE with typespec for CLASS


Dominique Dhumieres wrote:
As written the test in gfortran.dg/class_array_17.f90 is a no-op

Well spotted! Thanks for the report. I have committed the attached patch as obvious, Rev. 199573.

Tobias

PS: I realized that I should have put your name in the ChangeLog as you found and patched the issue.
Index: gcc/testsuite/ChangeLog
===================================================================
--- gcc/testsuite/ChangeLog	(Revision 199560)
+++ gcc/testsuite/ChangeLog	(Arbeitskopie)
@@ -1,3 +1,8 @@
+2013-06-01  Tobias Burnus  <burnus@net-b.de>
+
+	PR fortran/57456
+	* gfortran.dg/class_array_17.f90: New.
+
 2013-05-31  Eric Botcazou  <ebotcazou@adacore.com>
 
 	* ada/acats/floatstore.lst: New.
Index: gcc/testsuite/gfortran.dg/class_array_17.f90
===================================================================
--- gcc/testsuite/gfortran.dg/class_array_17.f90	(Revision 199560)
+++ gcc/testsuite/gfortran.dg/class_array_17.f90	(Arbeitskopie)
@@ -30,5 +30,5 @@ program test
   deallocate(y)
 end
 
-! { dg-final { scan-tree-dump-times "__builtin_malloc (40);" 0 "original" } }
+! { dg-final { scan-tree-dump-times "__builtin_malloc \\(40\\);" 1 "original" } }
 ! { dg-final { cleanup-tree-dump "original" } }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]