diff options
author | Andreas Jaeger <aj@suse.de> | 2005-05-15 17:37:18 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2005-05-15 17:37:18 +0200 |
commit | e606fb399e59f59bf0c56e3f2a04c18b85b4ea4f (patch) | |
tree | 86a911fd57b949150311c11e562e0608b3efc89c /libgfortran/m4 | |
parent | 6b0215364d3709b555115d4a1bdcdea70350dbc0 (diff) | |
download | gcc-e606fb399e59f59bf0c56e3f2a04c18b85b4ea4f.zip gcc-e606fb399e59f59bf0c56e3f2a04c18b85b4ea4f.tar.gz gcc-e606fb399e59f59bf0c56e3f2a04c18b85b4ea4f.tar.bz2 |
pack_generic.c (pack): Remove unneeded calculation.
* intrinsics/pack_generic.c (pack): Remove unneeded calculation.
* m4/matmull.m4 (matmul_): Remove unneeded calculations, fix
pointer cast to avoid warning.
* generated/matmul_l4.c: Regenerated.
* generated/matmul_l8.c: Regenerated.
* Makefile.am: Remove AM_CFLAGS here.
* configure.ac: Define AM_CFLAGS and AM_FCFLAGS so that warnings
are set. Set additionally -Wstrict-prototypes for CFLAGS.
* Makefile.in: Regenerated
* configure: Regenerated.
From-SVN: r99723
Diffstat (limited to 'libgfortran/m4')
-rw-r--r-- | libgfortran/m4/matmull.m4 | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libgfortran/m4/matmull.m4 b/libgfortran/m4/matmull.m4 index b7ea969..02a5adb 100644 --- a/libgfortran/m4/matmull.m4 +++ b/libgfortran/m4/matmull.m4 @@ -1,5 +1,5 @@ `/* Implementation of the MATMUL intrinsic - Copyright 2002 Free Software Foundation, Inc. + Copyright 2002, 2005 Free Software Foundation, Inc. Contributed by Paul Brook <paul@nowt.org> This file is part of the GNU Fortran 95 runtime library (libgfortran). @@ -91,7 +91,7 @@ matmul_`'rtype_code (rtype * retarray, gfc_array_l4 * a, gfc_array_l4 * b) } retarray->data - = internal_malloc_size (sizeof (rtype_name) * size0 (retarray)); + = internal_malloc_size (sizeof (rtype_name) * size0 ((array_t *) retarray)); retarray->base = 0; } @@ -100,14 +100,12 @@ matmul_`'rtype_code (rtype * retarray, gfc_array_l4 * a, gfc_array_l4 * b) { assert (GFC_DESCRIPTOR_SIZE (a) == 8); abase = GFOR_POINTER_L8_TO_L4 (abase); - astride <<= 1; } bbase = b->data; if (GFC_DESCRIPTOR_SIZE (b) != 4) { assert (GFC_DESCRIPTOR_SIZE (b) == 8); bbase = GFOR_POINTER_L8_TO_L4 (bbase); - bstride <<= 1; } dest = retarray->data; |