diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-11-20 10:42:35 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2008-11-20 10:42:35 +0100 |
commit | b41b10e590e2b8b00dc5677520637540378251a0 (patch) | |
tree | 32fbf0f44b765f71c71b0b6e62f00b0e8df1eb11 /gcc/builtins.c | |
parent | dc5b3407f2997631c15eebccd8c9260e186f3e0a (diff) | |
download | gcc-b41b10e590e2b8b00dc5677520637540378251a0.zip gcc-b41b10e590e2b8b00dc5677520637540378251a0.tar.gz gcc-b41b10e590e2b8b00dc5677520637540378251a0.tar.bz2 |
re PR fortran/38181 (calls to SIZE not optimized out of loops)
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.
From-SVN: r142037
Diffstat (limited to 'gcc/builtins.c')
0 files changed, 0 insertions, 0 deletions