[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-fortran
Subject: Re: [Patch, fortran] PR40472 - Simplification of spread intrinsic takes a long time
From: "H.J. Lu" <hjl.tools () gmail ! com>
Date: 2009-06-22 14:44:29
Message-ID: 6dc9ffc80906220744x5fb50617ic9cabd16aed6796e () mail ! gmail ! com
[Download RAW message or body]
On Sat, Jun 20, 2009 at 3:39 PM, Paul Richard
Thomas<paul.richard.thomas@gmail.com> wrote:
> Dear All,
>
> This is another obvious one - at the moment, SPREAD has the ability to
> simplify an array to any size. This is clearly not right. As a
> simplifying (excuse the pun) assumption, I have supposed that
> gfc_simplify_spread should not try to emit an array of larger than
> gfc_option.flag_max_array_constructor.
>
> Bootstraps and regtests on FC9/x86_64 - OK for trunk and 4.4?
>
> Paul
>
> 2009-06-21 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/40472
> * simplify.c (gfc_simplify_spread): Restrict the result size to
> the limit for an array constructor.
>
> 2009-06-21 Paul Thomas <pault@gcc.gnu.org>
>
> PR fortran/40472
> * gfortran.dg/spread_size_limit.f90: New test.
>
This caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40520
I saw it on Linux/ia32 and Linux/ia64. I didn't see it on Linux/x86-64.
--
H.J.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic