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] PR40472 - Simplification of spread intrinsic takes a long time


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.


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