This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/36886] misaligment for cshift of character



------- Comment #6 from tkoenig at gcc dot gnu dot org  2008-08-14 18:32 -------
Subject: Bug 36886

Author: tkoenig
Date: Thu Aug 14 18:31:32 2008
New Revision: 139111

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139111
Log:
2008-08-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR libfortran/36886
        * Makefile.am:  Added $(i_cshift0_c).
        Added $(i_cshift0_c) to gfor_built_specific_src.
        Add rule to build from cshift0.m4.
        * Makefile.in:  Regenerated.
        * libgfortran.h:  Addedd prototypes for cshift0_i1,
        cshift0_i2, cshift0_i4, cshift0_i8, cshift0_i16,
        cshift0_r4, cshift0_r8, cshift0_r10, cshift0_r16,
        cshift0_c4, cshift0_c8, cshift0_c10, cshift0_c16.
        Define Macros GFC_UNALIGNED_C4 and GFC_UNALIGNED_C8.
        * intrinsics/cshift0.c:  Remove helper functions for
        the innter shift loop.
        (cshift0):  Call specific functions depending on type
        of array argument.  Only call specific functions for
        correct alignment for other types.
        * m4/cshift0.m4:  New file.
        * generated/cshift0_i1.c:  New file.
        * generated/cshift0_i2.c:  New file.
        * generated/cshift0_i4.c:  New file.
        * generated/cshift0_i8:.c  New file.
        * generated/cshift0_i16.c:  New file.
        * generated/cshift0_r4.c:  New file.
        * generated/cshift0_r8.c:  New file.
        * generated/cshift0_r10.c:  New file.
        * generated/cshift0_r16.c:  New file.
        * generated/cshift0_c4.c:  New file.
        * generated/cshift0_c8.c:  New file.
        * generated/cshift0_c10.c:  New file.
        * generated/cshift0_c16.c:  New file.

2008-08-14  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR libfortran/36886
        * gfortran.dg/cshift_char_3.f90:  New test case.
        * gfortran.dg/cshift_nan_1.f90:  New test case.


Added:
    trunk/gcc/testsuite/gfortran.dg/char_cshift_3.f90
    trunk/gcc/testsuite/gfortran.dg/cshift_nan_1.f90
    trunk/libgfortran/generated/cshift0_c10.c
    trunk/libgfortran/generated/cshift0_c16.c
    trunk/libgfortran/generated/cshift0_c4.c
    trunk/libgfortran/generated/cshift0_c8.c
    trunk/libgfortran/generated/cshift0_i1.c
    trunk/libgfortran/generated/cshift0_i16.c
    trunk/libgfortran/generated/cshift0_i2.c
    trunk/libgfortran/generated/cshift0_i4.c
    trunk/libgfortran/generated/cshift0_i8.c
    trunk/libgfortran/generated/cshift0_r10.c
    trunk/libgfortran/generated/cshift0_r16.c
    trunk/libgfortran/generated/cshift0_r4.c
    trunk/libgfortran/generated/cshift0_r8.c
    trunk/libgfortran/m4/cshift0.m4
Modified:
    trunk/gcc/testsuite/ChangeLog
    trunk/libgfortran/ChangeLog
    trunk/libgfortran/Makefile.am
    trunk/libgfortran/Makefile.in
    trunk/libgfortran/intrinsics/cshift0.c
    trunk/libgfortran/libgfortran.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36886


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]