This is the mail archive of the gcc-bugs@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]

[Bug fortran/57798] [4.8 Regression] Incorrect handling of sum over first dimension of a product of automatic arrays


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57798

Mikael Morin <mikael at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.8/4.9 Regression]        |[4.8 Regression] Incorrect
                   |Incorrect handling of sum   |handling of sum over first
                   |over first dimension of a   |dimension of a product of
                   |product of automatic arrays |automatic arrays

--- Comment #6 from Mikael Morin <mikael at gcc dot gnu.org> ---
Author: mikael
Date: Fri Aug 23 17:49:39 2013
New Revision: 201947

URL: http://gcc.gnu.org/viewcvs?rev=201947&root=gcc&view=rev
Log:
fortran/
    PR fortran/57798
    * trans-array.c (gfc_conv_ss_startstride, set_loop_bounds,
    gfc_set_delta): Generate preliminary code before the outermost loop.

testsuite/
    PR fortran/57798
    * gfortran.dg/inline_sum_5.f90: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/inline_sum_5.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog


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