OSDN Git Service

2008-01-15 Thomas Koenig <tkoenig@gcc.gnu.org>
authortkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jan 2008 21:22:07 +0000 (21:22 +0000)
committertkoenig <tkoenig@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jan 2008 21:22:07 +0000 (21:22 +0000)
commit76b9f8916aac9ea860e18c74280771ae44bd098b
tree48e5848dd3732806515c1d1a39309fb7baba909b
parentc45bb9cb2c7a83ddb02eb2d4bdd99b20d0c8fbe9
2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34671
* gfortran.am: Added _gfortran_all_l1, _gfortran_all_l2,
_gfortran_any_l1, _gfortran_any_l2, -28,15 _gfortran_count_1_l,
_gfortran_count_16_l, _gfortran_count_2_l, _gfortran_count_4_l and
_gfortran_count_8_l Removed _gfortran_count_16_l16,
_gfortran_count_16_l4, _gfortran_count_16_l8,
_gfortran_count_4_l16, _gfortran_count_4_l4, _gfortran_count_4_l8,
_gfortran_count_8_l16, _gfortran_count_8_l4 and
_gfortran_count_8_l8.
* Makefile.am: Added generated/any_l1.c and generated/any_l2.c to
i_any_c.  Added generated/all_l1. and generated/all_l2.c to
i_all_c.  Removed generated/count_4_l4.c, generated/count_8_l4.c,
generated/count_16_l4.c, generated/count_4_l8.c,
generated/count_8_l8.c, generated/count_16_l8.c,
generated/count_4_l16.c, generated/count_8_l16.c, and
generated/count_16_l16.c from i_count_c.  Added count_1_l.c,
count_2_l.c, count_4_l.c, count_8_l.c and count_16_l.c to
i_count_c.  I_M4_DEPS2 depends on ifunction_logical.m4, for
any of the files generated from all.m4, any.m4 and count.m4.
* Makefile.in:  Regenerated.
* m4/ifunction_logical.m4:  New file.  Use
GFC_LOGICAL_1 pointer for access to source arrays.
* m4/any.m4:  Include ifunction_logical.m4 instead of
ifunction.m4.  Don't check atype_name.
* m4/all.m4:  Likewise.
* m4/count.m4:  Likewise.
* generated/any_l1.c:  New file.
* generated/any_l2.c:  New file.
* generated/all_l1.c:  New file.
* generated/count_1_l.c:  New file.
* generated/count_2_l.c:  New file.
* generated/count_4_l.c:  New file.
* generated/count_8_l.c:  New file.
* generated/count_16_l.c:  New file.
* generated/any_l4.c:  Regenerated.
* generated/any_l8.c:  Regenerated.
* generated/any_l16.c:  Regenerated.
* generated/all_l4.c: Regenerated.
* generated/all_l8.c: Regenerated.
* generated/all_l16.c: Regenerated.
* generated/count_4_l4.c:  Removed.
* generated/count_4_l8.c:  Removed.
* generated/count_4_l16.c:  Removed.
* generated/count_8_l4.c:  Removed.
* generated/count_8_l8.c:  Removed.
* generated/count_8_l16.c:  Removed.
* generated/count_16_l4.c:  Removed.
* generated/count_16_l8.c:  Removed.
* generated/count_16_l16.c:  Removed.

2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34671
* iresolve.c (gfc_resolve_all):  Call resolve_mask_arg.
(gfc_resolve_any):  Likewise.
(gfc_resolve_count):  Likewise.  Don't append kind of
argument to function name.

2008-01-15  Thomas Koenig  <tkoenig@gcc.gnu.org>

PR libfortran/34671
* gfortran.dg/anyallcount_1.f90:  New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131553 138bc75d-0d04-0410-961f-82ee72b054a4
30 files changed:
gcc/fortran/ChangeLog
gcc/fortran/iresolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/anyallcount_1.f90 [new file with mode: 0644]
libgfortran/ChangeLog
libgfortran/Makefile.am
libgfortran/Makefile.in
libgfortran/generated/all_l1.c [new file with mode: 0644]
libgfortran/generated/all_l16.c
libgfortran/generated/all_l2.c [new file with mode: 0644]
libgfortran/generated/all_l4.c
libgfortran/generated/all_l8.c
libgfortran/generated/any_l1.c [new file with mode: 0644]
libgfortran/generated/any_l16.c
libgfortran/generated/any_l2.c [new file with mode: 0644]
libgfortran/generated/any_l4.c
libgfortran/generated/any_l8.c
libgfortran/generated/count_16_l.c [moved from libgfortran/generated/count_16_l4.c with 82% similarity]
libgfortran/generated/count_16_l16.c [deleted file]
libgfortran/generated/count_1_l.c [moved from libgfortran/generated/count_4_l8.c with 80% similarity]
libgfortran/generated/count_2_l.c [moved from libgfortran/generated/count_8_l4.c with 80% similarity]
libgfortran/generated/count_4_l.c [moved from libgfortran/generated/count_4_l4.c with 82% similarity]
libgfortran/generated/count_4_l16.c [deleted file]
libgfortran/generated/count_8_l.c [moved from libgfortran/generated/count_8_l8.c with 82% similarity]
libgfortran/generated/count_8_l16.c [deleted file]
libgfortran/gfortran.map
libgfortran/m4/all.m4
libgfortran/m4/any.m4
libgfortran/m4/count.m4
libgfortran/m4/ifunction_logical.m4 [moved from libgfortran/generated/count_16_l8.c with 55% similarity]