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] PR58754 - [4.9/5 Regression] ICE on allocating character array with source


Dear All,

Only the testcase will be applied to 4.9. At some time, it seems to
have fixed itself!

Cheers

Paul

On 22 October 2015 at 16:31, Paul Richard Thomas
<paul.richard.thomas@gmail.com> wrote:
> Dear All,
>
> This patch speaks for itself. It is by no means as comprehensive as
> the work on ALLOCATE that Andre has done on 6 branch but has the
> advantage for 5 branch that it is simple and steers the failing code
> to the standard assignment, which should be safe.
>
> Bootstraps and regtests on FC21/x86_64.
>
> OK for 4.9 and 5 branches?
>
> Cheers
>
> Paul
>
> 2015-10-22  Paul Thomas  <pault@gcc.gnu.org>
>
>     PR fortran/58754
>     * trans-stmt.c (gfc_trans_allocate): Do not use the scalar
>     character assignment if the allocate expression sis an array
>     descriptor.
>
> 2015-10-22  Paul Thomas  <pault@gcc.gnu.org>
>
>     PR fortran/58754
>     * gfortran.dg/pr58754.f90: New test



-- 
Outside of a dog, a book is a man's best friend. Inside of a dog it's
too dark to read.

Groucho Marx


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