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] Properly generate DECL_EXPRs for temporary arrays


On 04/29/2016 02:06 AM, Richard Biener wrote:
> 
> The following makes sure to create DECL_EXPRs for VLA types built for
> temporary arrays to properly allow the gimplifier to unshare expression
> in its type fields when required.
> 
> This avoids turing those fields into garbage.  With a patch to allow
> the gimplifier to introduce SSA names it avoids ICEs for
> 
> gfortran.dg/auto_char_pointer_array_result_1.f90
> gfortran.dg/interface_12.f90
> gfortran.dg/result_in_spec_1.f90
> 
> and
> 
> libgomp.fortran/vla7.f90
> 
> Bootstrapped and tested on x86_64-unknown-linux-gnu.
> 
> Ok for trunk?
> 
OK and thanks.

Jerry


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