This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57798] [4.8 Regression] Incorrect handling of sum over first dimension of a product of automatic arrays
- From: "mikael at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 23 Aug 2013 17:51:55 +0000
- Subject: [Bug fortran/57798] [4.8 Regression] Incorrect handling of sum over first dimension of a product of automatic arrays
- Auto-submitted: auto-generated
- References: <bug-57798-4 at http dot gcc dot gnu dot org/bugzilla/>
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