gcc/libgfortran
Tobias Burnus 195a95c430 re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG)
2010-09-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/38282
        * intrinsic.c (add_functions): Support IALL, IANY, IPARITY.
        (check_specific): Special case for those intrinsics.
        * gfortran.h (gfc_isym_id): Add new intrinsics
        * intrinsic.h (gfc_check_transf_bit_intrins,
        gfc_simplify_iall, gfc_simplify_iany, gfc_simplify_iparity,
        gfc_resolve_iall, gfc_resolve_iany, gfc_resolve_iparity):
        New prototypes.
        * iresolve.c (gfc_resolve_iall, gfc_resolve_iany,
        gfc_resolve_iparity, resolve_transformational): New functions.
        (gfc_resolve_product, gfc_resolve_sum,
        gfc_resolve_parity): Use resolve_transformational.
        * check.c (gfc_check_transf_bit_intrins): New function.
        * simplify.c (gfc_simplify_iall, gfc_simplify_iany,
        gfc_simplify_iparity, do_bit_any, do_bit_ior,
        do_bit_xor, simplify_transformation): New functions.
        (gfc_simplify_all, gfc_simplify_any, gfc_simplify_parity,
        gfc_simplify_sum, gfc_simplify_product): Use simplify_transformation.
        * trans-intrinsic.c (gfc_conv_intrinsic_arith,
        gfc_conv_intrinsic_function, gfc_is_intrinsic_libcall):
        Handle IALL, IANY and IPARITY intrinsics.       
        * intrinsic.texi (IMAGE_INDEX): Move up to fix alphabetic
        order.
        (IALL, IANY, IPARITY): Document new intrinsics.

2010-09-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/38282
        * gfortran.dg/iall_iany_iparity_1.f90: New.
        * gfortran.dg/iall_iany_iparity_2.f90: New.

2010-09-06  Tobias Burnus  <burnus@net-b.de>

        PR fortran/38282
        * gfortran.map: Add new iany, iall and iparity intrinsics.
        * Makefile.am: Ditto.
        * m4/iany.m4: New.
        * m4/iall.m4: New.
        * m4/iparity.m4: New.
        * Makefile.in: Regenerate.
        * generated/iall_i1.c: Generate.
        * generated/iall_i2.c: Generate.
        * generated/iall_i4.c: Generate.
        * generated/iall_i8.c: Generate.
        * generated/iall_i16.c: Generate.
        * generated/iany_i1.c: Generate.
        * generated/iany_i2.c: Generate.
        * generated/iany_i4.c: Generate.
        * generated/iany_i8.c: Generate.
        * generated/iany_i16.c: Generate.
        * generated/iparity_i1.c: Generate.
        * generated/iparity_i2.c: Generate.
        * generated/iparity_i4.c: Generate.
        * generated/iparity_i8.c: Generate.
        * generated/iparity_i16.c: Generate.

From-SVN: r163898
2010-09-06 07:55:10 +02:00
..
config fpu-387.h (has_sse): Remove cw_sse, unused. 2010-08-26 15:29:31 +00:00
generated re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
intrinsics intrinsic.c: Add EXECUTE_COMMAND_LINE intrinsic. 2010-09-01 08:33:11 +00:00
io re PR libfortran/45323 (warnings compiling libgfortran/io/write.c: array subscript has type 'char') 2010-08-23 14:39:20 +02:00
m4 re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
runtime
acinclude.m4
aclocal.m4
c99_protos.h
ChangeLog re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
config.h.in
configure Fix misquoting in stdint.m4. 2010-08-21 12:18:02 +00:00
configure.ac configure.ac (gfortran_use_symver): Only check for Sun-style symbol versioning on Solaris 2. 2010-07-02 16:17:04 +00:00
configure.host
fmain.c
gfortran.map re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
libgfortran.h
libtool-version
Makefile.am re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
Makefile.in re PR fortran/38282 (Bit intrinsics: ILEN and IBCHNG) 2010-09-06 07:55:10 +02:00
mk-kinds-h.sh mk-kinds-h.sh: Disable REAL(16) if REAL(10) is available. 2010-08-28 09:35:47 +02:00
mk-sik-inc.sh
mk-srk-inc.sh intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00