[Bug fortran/38181] calls to SIZE not optimized out of loops
jakub at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 20 09:45:00 GMT 2008
------- Comment #5 from jakub at gcc dot gnu dot org 2008-11-20 09:44 -------
Subject: Bug 38181
Author: jakub
Date: Thu Nov 20 09:42:35 2008
New Revision: 142037
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142037
Log:
PR fortran/38181
* trans-intrinsic.c (gfc_conv_intrinsic_size): Inline 2 argument
size if the second argument is not optional and one argument size
for rank 1 arrays.
* gfortran.dg/array_section_2.f90: Adjust pattern to match
the inlined size0 instead of a size0 call.
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/trans-intrinsic.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/array_section_2.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38181
More information about the Gcc-bugs
mailing list