This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] (4/5-regression) PR61831 side-effect deallocation of variable components)


Dear Paul,

Sorry for the late feedback. There is a missing right brace in gfortran.dg/derived_constructor_comps_6.f90. This is fixed by the obvious patch:

--- ../5_clean/gcc/testsuite/gfortran.dg/derived_constructor_comps_6.f90	2016-01-17 19:27:04.000000000 +0100
+++ gcc/testsuite/gfortran.dg/derived_constructor_comps_6.f90	2016-01-18 03:02:17.000000000 +0100
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-additional-options "-fdump-tree-original"
+! { dg-additional-options "-fdump-tree-original" }
 !
 ! PR fortran/61831
 ! The deallocation of components of array constructor elements

However with this patch the test fails with -m32 and -O0/O1.

TIA

Dominique

> Le 17 janv. 2016 Ã 18:37, Paul Richard Thomas <paul.richard.thomas@gmail.com> a Ãcrit :
> 
> Dear Andre,
> 
> Thanks for the very useful discussion. It cleared away one or two cobwebs!
> 
> Committed as revision 232482.
> 
> Now to see if it will apply to 4.9 branch.... This might be a step too
> far, since all sorts of other prerequisites are not there. If it
> doesn't go well, I will close the PR as a WONTFIX on 4.9.
> 
> Cheers
> 
> Paul


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